java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.LocalException
com.zeroc.Ice.SyscallException
com.zeroc.Ice.SocketException
com.zeroc.Ice.ConnectFailedException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectionRefusedException
The exception that is thrown when a connection establishment fails.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a ConnectFailedException.ConnectFailedException(InetSocketAddress peerAddress, Throwable cause) Constructs a ConnectFailedException with a peer address and a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectFailedException
public ConnectFailedException()Constructs a ConnectFailedException. -
ConnectFailedException
Constructs a ConnectFailedException with a peer address and a cause.- Parameters:
peerAddress- the peer address (may be null)cause- the cause
-
-
Method Details
-
ice_id
Description copied from class:LocalExceptionReturns the type ID of this exception.- Overrides:
ice_idin classSocketException- Returns:
- the type ID of this exception
-