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

Public Member Functions | |
| ResourceAllocationException () | |
| ResourceAllocationException (const ResourceAllocationException &ex) | |
| ResourceAllocationException (const std::string &message) | |
| ResourceAllocationException (const std::string &message, const std::exception *cause) | |
| ResourceAllocationException (const std::string &message, const std::exception *cause, const std::vector< std::pair< std::string, int > > &stackTrace) | |
| virtual | ~ResourceAllocationException () throw () |
| virtual ResourceAllocationException * | 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 ResourceAllocationException.
| cms::ResourceAllocationException::ResourceAllocationException | ( | ) |
| cms::ResourceAllocationException::ResourceAllocationException | ( | const ResourceAllocationException & | ex | ) |
| cms::ResourceAllocationException::ResourceAllocationException | ( | const std::string & | message | ) |
| cms::ResourceAllocationException::ResourceAllocationException | ( | const std::string & | message, | |
| const std::exception * | cause | |||
| ) |
| cms::ResourceAllocationException::ResourceAllocationException | ( | const std::string & | message, | |
| const std::exception * | cause, | |||
| const std::vector< std::pair< std::string, int > > & | stackTrace | |||
| ) |
| virtual cms::ResourceAllocationException::~ResourceAllocationException | ( | ) | throw () [virtual] |
| virtual ResourceAllocationException* cms::ResourceAllocationException::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