Name
COMM_FAILURE
Synopsis
A standard CORBA exception thrown when a communications failure occurs during a remote operation. Sun’s Java IDL defines the following minor error code values for this exception, stored in the minor data member inherited from SystemException
:
Minor code | Meaning |
---|---|
1 |
Unable to connect to the required remote ORB. The location (host and port number) of the ORB can be specified in a caller-provided object reference, or in an object reference acquired while processing the request. |
2 |
A write to a socket failed, either because the socket was closed by the remote peer, or because the socket connection has been aborted. |
3 |
A write to a socket failed because the connection was closed on this side on the socket. |
6 |
Multiple attempts to connect to the remote server have failed. |
public final class COMM_FAILURE extends org.omg.CORBA.SystemException { // Public Constructors public COMM_FAILURE(); public COMM_FAILURE( String s); public COMM_FAILURE(int minor, CompletionStatus completed); public COMM_FAILURE(String s, int minor, CompletionStatus completed); }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.