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
public class ClientException extends Exception
Represents a non-fatal exception that occurs from a ClientConnection
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientException(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 Detail
-
ClientException
public ClientException(String message)
Creates a new client exception.- Parameters:
message
- The message that describes the reason for the error.
-
-