Class ClientTransactionDeclarationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.qpid.protonj2.client.exceptions.ClientException
-
- org.apache.qpid.protonj2.client.exceptions.ClientIllegalStateException
-
- org.apache.qpid.protonj2.client.exceptions.ClientTransactionDeclarationException
-
- All Implemented Interfaces:
Serializable
public class ClientTransactionDeclarationException extends ClientIllegalStateException
Thrown when a transaction declaration fails or is rejected by the remote.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientTransactionDeclarationException(String message)
Creates a new transaction declaration exception.ClientTransactionDeclarationException(String message, Throwable cause)
Creates a new transaction declaration 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
-
ClientTransactionDeclarationException
public ClientTransactionDeclarationException(String message)
Creates a new transaction declaration exception.- Parameters:
message
- The message that describes the reason for the error.
-
ClientTransactionDeclarationException
public ClientTransactionDeclarationException(String message, Throwable cause)
Creates a new transaction declaration exception.- Parameters:
message
- The message that describes the reason for the error.cause
- An exception that further defines the reason for the error.
-
-