cms::IllegalStateException Class Reference
This exception is thrown when a method is invoked at an illegal or inappropriate time or if the provider is not in an appropriate state for the requested operation.
More...
#include <src/main/cms/IllegalStateException.h>
Detailed Description
This exception is thrown when a method is invoked at an illegal or inappropriate time or if the provider is not in an appropriate state for the requested operation.
For example, this exception must be thrown if Session.commit is called on a non-transacted session.
- Since:
- 1.3
Constructor & Destructor Documentation
| cms::IllegalStateException::IllegalStateException |
( |
|
) |
|
| cms::IllegalStateException::IllegalStateException |
( |
const std::string & |
message |
) |
|
| cms::IllegalStateException::IllegalStateException |
( |
const std::string & |
message, |
|
|
const std::exception * |
cause | |
|
) |
| | |
| cms::IllegalStateException::IllegalStateException |
( |
const std::string & |
message, |
|
|
const std::exception * |
cause, |
|
|
const std::vector< std::pair< std::string, int > > & |
stackTrace | |
|
) |
| | |
| virtual cms::IllegalStateException::~IllegalStateException |
( |
|
) |
throw () [virtual] |
Member Function Documentation
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.
- Returns:
- new pointer that is a clone of this Exception, caller owns.
Reimplemented from cms::CMSException.
The documentation for this class was generated from the following file: