public final class UtilityLibraryException extends RuntimeException
| Constructor and Description |
|---|
UtilityLibraryException()
Default Constructor.
|
UtilityLibraryException(String message)
Constructs a new exception with the specified detail message and cause.
|
UtilityLibraryException(String message,
Throwable cause)
Constructs a new exception with the specified detail message.
|
UtilityLibraryException(Throwable cause)
Constructs a new exception with the specified cause.
|
| Modifier and Type | Method and Description |
|---|---|
static RemoteException |
getUnwrapApiExceptions(Exception exception,
String message)
Unwraps ApiException, AxisFault and RemoteException exceptions
|
static void |
throwUnwrapApiExceptions(Exception exception,
String message)
Unwraps ApiException and RemoteException exceptions
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UtilityLibraryException()
public UtilityLibraryException(String message)
message - the detail message.public UtilityLibraryException(String message, Throwable cause)
message - the detail message.cause - the causepublic UtilityLibraryException(Throwable cause)
cause - the causepublic static void throwUnwrapApiExceptions(Exception exception, String message) throws RemoteException
exception - the Exception to unwrapmessage - custom message to include in the UtilityLibraryExceptionRemoteException - for communication-related exceptionspublic static RemoteException getUnwrapApiExceptions(Exception exception, String message)
exception - the Exception to unwrapmessage - custom message to include in the UtilityLibraryExceptionCopyright © 2015. All Rights Reserved.