Class ClientTransactionNotActiveException
- 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.ClientTransactionNotActiveException
-
- All Implemented Interfaces:
java.io.Serializable
public class ClientTransactionNotActiveException extends ClientIllegalStateException
Thrown when a client attempt to commit or roll-back when no transaction has been declared.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClientTransactionNotActiveException(java.lang.String message)
Creates a new transaction not active exception.ClientTransactionNotActiveException(java.lang.String message, java.lang.Throwable cause)
Creates a new transaction not active exception.
-
-
-
Constructor Detail
-
ClientTransactionNotActiveException
public ClientTransactionNotActiveException(java.lang.String message)
Creates a new transaction not active exception.- Parameters:
message
- The message that describes the reason for the error.
-
ClientTransactionNotActiveException
public ClientTransactionNotActiveException(java.lang.String message, java.lang.Throwable cause)
Creates a new transaction not active exception.- Parameters:
message
- The message that describes the reason for the error.cause
- An exception that further defines the reason for the error.
-
-