public class StatusExceptionWrapper
extends java.lang.Object
| Constructor and Description |
|---|
StatusExceptionWrapper() |
| Modifier and Type | Method and Description |
|---|---|
static StatusExceptionWrapper |
getInstance() |
StatusException |
wrap(java.lang.Exception e)
Method that will wrap a StatusRuntimeException or StatusException to either
a ClientSideException/CommunicationException/ServerSideException (which all are a StatusException).
|
public static StatusExceptionWrapper getInstance()
public StatusException wrap(java.lang.Exception e)
e - the exception to wrap, should be either StatusRuntimeException or StatusException.StatusException - the converted exception. Either a ClientSideException,
CommunicationException or ServerSideException.ClientSideException,
CommunicationException,
ServerSideException