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 exception that is thrown when a dispatch failed. This is the base class for local exceptions that can be
marshaled and transmitted "over the wire".
You can throw this exception in the implementation of an operation, or in a middleware. The Ice runtime then
logically rethrows this exception to the client.
- 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 (seeReplyStatus).
-
-
Constructor Details
-
DispatchException
Constructs a DispatchException with the specified reply status, message, and cause.- Parameters:
replyStatus- the reply status as an int (seeReplyStatus)message- the detail messagecause- the cause
-
DispatchException
Constructs a DispatchException with the specified reply status and message.- Parameters:
replyStatus- the reply status as an int (seeReplyStatus)message- the detail message
-
DispatchException
public DispatchException(int replyStatus) Constructs a DispatchException with the specified reply status.- Parameters:
replyStatus- the reply status as an int (seeReplyStatus)
-
-
Method Details
-
ice_id
Description copied from class:LocalExceptionReturns the type ID of this exception.- Overrides:
ice_idin classLocalException- Returns:
- the type ID of this exception
-