Package com.zeroc.Ice
Class UnknownUserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.Exception
com.zeroc.Ice.LocalException
com.zeroc.Ice.UnknownException
com.zeroc.Ice.UnknownUserException
- All Implemented Interfaces:
Serializable
,Cloneable
An operation raised an incorrect user exception.
This exception is raised if an operation raises a
user exception that is not declared in the exception's
throws
clause. Such undeclared exceptions are
not transmitted from the server to the client by the Ice
protocol, but instead the client just gets an
UnknownUserException
. This is necessary in order to not violate
the contract established by an operation's signature: Only local
exceptions and user exceptions declared in the
throws
clause can be raised.- See Also:
-
Field Summary
Fields inherited from class com.zeroc.Ice.UnknownException
unknown
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownUserException
(String unknown) UnknownUserException
(String unknown, Throwable cause) UnknownUserException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
UnknownUserException
public UnknownUserException() -
UnknownUserException
-
UnknownUserException
-
UnknownUserException
-
-
Method Details
-
ice_id
Description copied from class:Exception
Returns the type id of this exception.- Overrides:
ice_id
in classUnknownException
- Returns:
- The type id of this exception.
-