search for: remotecontainerdeni

Displaying 1 result from an estimated 1 matches for "remotecontainerdeni".

Did you mean: remotecontainerdenied
2011 May 22
6
How to capture correctly a specific exception
...e Exceptions::RemoteContainerException, "RemoteContainerException" if requestId.nil? ... end there is a hook for any exception raised, to trap ALL the errors and do something according to the raised exception , i.e. : def error(job, exception) case exception when "RemoteContainerDenied" .. do something when "RemoteContainerException" .. do something else ...... end end I am new to ''exception raising'' ... so I initially thought I could trap the exception message : "RemoteLockerDenied" or "RemoteCon...