public class UnexpectedException extends RemoteException
UnexpectedException is thrown if the client of a remote method call receives, as a result of the call, a checked exception that is not among the checked exception types declared in the
throws clause of the method in the remote interface.
detail| Constructor and Description |
|---|
UnexpectedException(String
Constructs an
UnexpectedException with the specified detail message.
|
UnexpectedException(String
Constructs a
UnexpectedException with the specified detail message and nested exception.
|
getCause, getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnexpectedException(Strings)
UnexpectedException with the specified detail message.
s - the detail message