java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.LocalException
com.zeroc.Ice.DispatchException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RequestFailedException
,UnknownException
The dispatch failed. This is the base class for local exceptions that can be marshaled and
transmitted "over the wire".
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDispatchException
(int replyStatus) Constructs a DispatchException with the specified reply status.DispatchException
(int replyStatus, String message) Constructs a DispatchException with the specified reply status and message.DispatchException
(int replyStatus, String message, Throwable cause) Constructs a DispatchException with the specified reply status, message, and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
replyStatus
public final int replyStatusThe reply status, as an int.
-
-
Constructor Details
-
DispatchException
Constructs a DispatchException with the specified reply status, message, and cause.- Parameters:
replyStatus
- the reply status as an intmessage
- the detail messagecause
- the cause of this exception
-
DispatchException
Constructs a DispatchException with the specified reply status and message.- Parameters:
replyStatus
- the reply status as an intmessage
- the detail message
-
DispatchException
public DispatchException(int replyStatus) Constructs a DispatchException with the specified reply status.- Parameters:
replyStatus
- the reply status as an int
-
-
Method Details
-
ice_id
Description copied from class:LocalException
Returns the type ID of this exception.- Overrides:
ice_id
in classLocalException
- Returns:
- the type ID of this exception
-