Package com.mayam.wf.exception
Class RemoteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.mayam.wf.exception.RemoteException
- All Implemented Interfaces:
ExceptionBean.HasExceptionBean
,Serializable
Describes a remote exception, as passed via an
ExceptionBean
.- Author:
- Markus MÃ¥rtensson
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionRemoteException
(ExceptionBean bean) RemoteException
(ExceptionBean bean, int statusCode) RemoteException
(String message) RemoteException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionIf the RemoteException was constructed using an ExceptionBean, this method will return it.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RemoteException
-
RemoteException
-
RemoteException
-
RemoteException
-
-
Method Details
-
getExceptionBean
If the RemoteException was constructed using an ExceptionBean, this method will return it.- Specified by:
getExceptionBean
in interfaceExceptionBean.HasExceptionBean
- Returns:
- bean if available, otherwise null.
-
getStatusCode
-