Class ClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.qpid.protonj2.client.exceptions.ClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClientIllegalStateException
,ClientIOException
,ClientMessageFormatViolationException
,ClientOperationTimedOutException
Represents a non-fatal exception that occurs from a Client
Connection
or 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:
-
Constructor Summary
ConstructorDescriptionClientException
(String message) Creates a new client exception.ClientException
(String message, Throwable cause) Creates a new client exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClientException
Creates a new client exception.- Parameters:
message
- The message that describes the reason for the error.
-
ClientException
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.
-