This exception is thrown when an operation is invalid because a transaction is in progress. More...
#include <src/main/cms/TransactionInProgressException.h>

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 () |
| virtual TransactionInProgressException * | clone () |
| Creates a cloned version of this CMSException instance. | |
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.
| 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] |
| virtual TransactionInProgressException* cms::TransactionInProgressException::clone | ( | ) | [virtual] |
Creates a cloned version of this CMSException instance.
This method passes on ownership of the contained cause exception pointer to the clone. This method is mainly useful to the CMS provider.
Reimplemented from cms::CMSException.
1.6.1