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
com.zeroc.Ice.ConnectionRefusedException
- All Implemented Interfaces:
Serializable
The exception that is thrown when the server host actively refuses a connection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a ConnectionRefusedException.ConnectionRefusedException(InetSocketAddress serverAddress, Throwable cause) Constructs a ConnectionRefusedException with a remote server 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
-
ConnectionRefusedException
public ConnectionRefusedException()Constructs a ConnectionRefusedException. -
ConnectionRefusedException
Constructs a ConnectionRefusedException with a remote server address and a cause.- Parameters:
serverAddress- the remote server 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 classConnectFailedException- Returns:
- the type ID of this exception
-