cms::TransactionRolledBackException Class Reference

This exception must be thrown when a call to Session.commit results in a rollback of the current transaction. More...

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

Inheritance diagram for cms::TransactionRolledBackException:
Inheritance graph
[legend]

Public Member Functions

 TransactionRolledBackException ()
 TransactionRolledBackException (const TransactionRolledBackException &ex)
 TransactionRolledBackException (const std::string &message)
 TransactionRolledBackException (const std::string &message, const std::exception *cause)
 TransactionRolledBackException (const std::string &message, const std::exception *cause, const std::vector< std::pair< std::string, int > > &stackTrace)
virtual ~TransactionRolledBackException () throw ()
virtual
TransactionRolledBackException
clone ()
 Creates a cloned version of this CMSException instance.

Detailed Description

This exception must be thrown when a call to Session.commit results in a rollback of the current transaction.

Since:
2.3

Constructor & Destructor Documentation

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

Member Function Documentation

virtual TransactionRolledBackException* cms::TransactionRolledBackException::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.

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:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1