public abstract class GCUBEException extends RemoteException
detail| Constructor and Description |
|---|
GCUBEException()
Creates an exception with a no message and no cause.
|
GCUBEException(String msg)
Creates an exception with a given message.
|
GCUBEException(String msg,
Throwable cause)
Creates an exception with a given message and cause.
|
GCUBEException(Throwable cause)
Create an exception with a given cause.
|
| Modifier and Type | Method and Description |
|---|---|
abstract GCUBEFault |
getFault()
Returns a stub object of the remote fault class which corresponds to the exception.
|
GCUBEFault |
toFault(String... msg)
Converts the exception into a corresponding remote fault.
|
getCause, getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic GCUBEException()
public GCUBEException(String msg, Throwable cause)
msg - the message.cause - the cause.public GCUBEException(String msg)
msg - the message.public GCUBEException(Throwable cause)
cause - the cause.public abstract GCUBEFault getFault()
public GCUBEFault toFault(String... msg)
msg - an optional message specific to the new fault.Copyright © 2015. All Rights Reserved.