Class ConnectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.simpleframework.transport.connect.ConnectionException
-
- All Implemented Interfaces:
java.io.Serializable
class ConnectionException extends java.io.IOException
TheConnectionException
is thrown if there is a problem establishing a connection to the server. Such a problem can occur if the server has been stopped when a new connection arrives. This can also be thrown if some other connection related issue occurs.
-
-
Constructor Summary
Constructors Constructor Description ConnectionException(java.lang.String message)
Constructor for theConnectionException
object.ConnectionException(java.lang.String message, java.lang.Throwable cause)
Constructor for theConnectionException
object.
-
-
-
Constructor Detail
-
ConnectionException
public ConnectionException(java.lang.String message)
Constructor for theConnectionException
object. This is used to represent an exception that is thrown when an error occurs during the connect process. Typically this is thrown if there is a problem connecting or accepting from a socket.- Parameters:
message
- this is the message describing the exception
-
ConnectionException
public ConnectionException(java.lang.String message, java.lang.Throwable cause)
Constructor for theConnectionException
object. This is used to represent an exception that is thrown when an error occurs during the connect process. Typically this is thrown if there is a problem connecting or accepting from a socket.- Parameters:
message
- this is the message describing the exceptioncause
- this is the cause of the producer exception
-
-