activemq-cpp-3.4.0

cms::TransactionInProgressException Class Reference

This exception is thrown when an operation is invalid because a transaction is in progress. More...

#include <src/main/cms/TransactionInProgressException.h>

Inheritance diagram for cms::TransactionInProgressException:

Public Member Functions

 TransactionInProgressException ()
 TransactionInProgressException (const TransactionInProgressException &ex)
 TransactionInProgressException (const std::string &message)
 TransactionInProgressException (const std::string &message, const std::exception *cause)
 TransactionInProgressException (const std::string &message, const std::exception *cause, const std::vector< std::pair< std::string, int > > &stackTrace)
virtual ~TransactionInProgressException () throw ()

Detailed Description

This exception is thrown when an operation is invalid because a transaction is in progress.

For instance, an attempt to call Session::commit when a session is part of a distributed transaction should throw a TransactionInProgressException.

Since:
2.3

Constructor & Destructor Documentation

cms::TransactionInProgressException::TransactionInProgressException ( )
cms::TransactionInProgressException::TransactionInProgressException ( const TransactionInProgressException ex)
cms::TransactionInProgressException::TransactionInProgressException ( const std::string &  message)
cms::TransactionInProgressException::TransactionInProgressException ( const std::string &  message,
const std::exception *  cause 
)
cms::TransactionInProgressException::TransactionInProgressException ( const std::string &  message,
const std::exception *  cause,
const std::vector< std::pair< std::string, int > > &  stackTrace 
)
virtual cms::TransactionInProgressException::~TransactionInProgressException ( ) throw () [virtual]

The documentation for this class was generated from the following file: