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:
java.io.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(java.lang.String message)
Creates a new transaction declaration exception.ClientTransactionDeclarationException(java.lang.String message, java.lang.Throwable cause)
Creates a new transaction declaration exception.
-
-
-
Constructor Detail
-
ClientTransactionDeclarationException
public ClientTransactionDeclarationException(java.lang.String message)
Creates a new transaction declaration exception.- Parameters:
message
- The message that describes the reason for the error.
-
ClientTransactionDeclarationException
public ClientTransactionDeclarationException(java.lang.String message, java.lang.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.
-
-