Class ConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.simpleframework.transport.connect.ConnectionException
- All Implemented Interfaces:
Serializable
The
ConnectionException
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
ConstructorsConstructorDescriptionConnectionException
(String message) Constructor for theConnectionException
object.ConnectionException
(String message, Throwable cause) Constructor for theConnectionException
object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConnectionException
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
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
-