Class ClientException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.qpid.protonj2.client.exceptions.ClientException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ClientIllegalStateException,ClientIOException,ClientMessageFormatViolationException,ClientOperationTimedOutException
public class ClientException extends java.lang.ExceptionRepresents a non-fatal exception that occurs from a ClientConnectionor one of its resources. These error types can typically be recovered from without a full tear down and rebuild of the connection. One example might be a failure to commit a transaction due to a forced roll back on the remote side of the connection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientException(java.lang.String message)Creates a new client exception.ClientException(java.lang.String message, java.lang.Throwable cause)Creates a new client exception.
-
-
-
Constructor Detail
-
ClientException
public ClientException(java.lang.String message)
Creates a new client exception.- Parameters:
message- The message that describes the reason for the error.
-
ClientException
public ClientException(java.lang.String message, java.lang.Throwable cause)Creates a new client exception.- Parameters:
message- The message that describes the reason for the error.cause- An exception that further defines the reason for the error.
-
-