java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.zeroc.Ice.LocalException
com.zeroc.Ice.SyscallException
com.zeroc.Ice.SocketException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectFailedException,ConnectionLostException
The exception that is thrown to report a socket error.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a SocketException.protectedSocketException(String message, Throwable cause) Constructs a SocketException with a message and a cause.SocketException(Throwable cause) Constructs a SocketException with 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
-
SocketException
public SocketException()Constructs a SocketException. -
SocketException
Constructs a SocketException with a cause.- Parameters:
cause- the cause
-
SocketException
Constructs a SocketException with a message and a cause.- Parameters:
message- the detail messagecause- the cause
-
-
Method Details
-
ice_id
Description copied from class:LocalExceptionReturns the type ID of this exception.- Overrides:
ice_idin classSyscallException- Returns:
- the type ID of this exception
-