Package com.google.gwt.user.server.rpc
Class UnexpectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.gwt.user.server.rpc.UnexpectedException
- All Implemented Interfaces:
Serializable
The GWT RPC class throws UnexpectedException when a service method, being
invoked by GWT RPC, throws a checked exception that is not in the service
method's signature. Such exceptions are "unexpected" and the specific
exception will be the cause of the UnexpectedException.
- See Also:
-
Constructor Summary
ConstructorDescriptionUnexpectedException
(String message, Throwable cause) Construct an UnexpectedException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnexpectedException
Construct an UnexpectedException.- Parameters:
message
- the detail messagecause
- the cause of thisUnexpectedException
-