CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
cond::TransactionException Class Reference

#include <Exception.h>

Inheritance diagram for cond::TransactionException:
cond::Exception cms::Exception

Public Member Functions

 TransactionException (const std::string &from, const std::string &msg)
 
virtual ~TransactionException () throw ()
 
- Public Member Functions inherited from cond::Exception
 Exception (const std::string &message)
 
virtual ~Exception () throw ()
 
- Public Member Functions inherited from cms::Exception
void addAdditionalInfo (std::string const &info)
 
void addAdditionalInfo (char const *info)
 
void addContext (std::string const &context)
 
void addContext (char const *context)
 
std::list< std::string > const & additionalInfo () const
 
bool alreadyPrinted () const
 
void append (Exception const &another)
 
void append (std::string const &more_information)
 
void append (char const *more_information)
 
std::string const & category () const
 
void clearAdditionalInfo ()
 
void clearContext ()
 
void clearMessage ()
 
virtual Exceptionclone () const
 
std::list< std::string > const & context () const
 
 Exception (std::string const &aCategory)
 
 Exception (char const *aCategory)
 
 Exception (std::string const &aCategory, std::string const &message)
 
 Exception (char const *aCategory, std::string const &message)
 
 Exception (std::string const &aCategory, char const *message)
 
 Exception (char const *aCategory, char const *message)
 
 Exception (std::string const &aCategory, std::string const &message, Exception const &another)
 
 Exception (Exception const &other)
 
virtual std::string explainSelf () const
 
std::list< std::string > history () const
 
std::string message () const
 
Exceptionoperator= (Exception const &other)
 
void raise ()
 
int returnCode () const
 
void setAdditionalInfo (std::list< std::string > const &info)
 
void setAlreadyPrinted (bool value)
 
void setContext (std::list< std::string > const &context)
 
void swap (Exception &other)
 
virtual char const * what () const throw ()
 

Detailed Description

Definition at line 27 of file Exception.h.

Constructor & Destructor Documentation

cond::TransactionException::TransactionException ( const std::string &  from,
const std::string &  msg 
)

Definition at line 13 of file Exception.cc.

13  :
14  cond::Exception(std::string("Transaction Error ")+from+" "+msg){}
static std::string from(" from ")
virtual cond::TransactionException::~TransactionException ( )
throw (
)
inlinevirtual

Definition at line 31 of file Exception.h.

31 {}