CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
PFTrackAlgoTools::edm::Exception Class Reference
Inheritance diagram for PFTrackAlgoTools::edm::Exception:
PFTrackAlgoTools::cms::Exception

Public Types

typedef errors::ErrorCodes Code
 

Public Member Functions

Code categoryCode () const
 
virtual Exceptionclone () const
 
 Exception (Code category)
 
 Exception (Code category, std::string const &message)
 
 Exception (Code category, char const *message)
 
 Exception (Code category, std::string const &message, cms::Exception const &another)
 
 Exception (Code category, char const *message, cms::Exception const &another)
 
 Exception (Exception const &other)
 
Exceptionoperator= (Exception const &other)
 
void swap (Exception &other)
 
virtual ~Exception () throw ()
 
- Public Member Functions inherited from PFTrackAlgoTools::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 ()
 
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 ()
 

Static Public Member Functions

static const std::string & codeToString (Code)
 
static void throwThis (Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
 
static void throwThis (Code category, char const *message0, int intVal, char const *message2="")
 

Private Member Functions

virtual void rethrow ()
 
virtual int returnCode_ () const
 

Private Attributes

Code category_
 

Detailed Description

Definition at line 71 of file PFTrackAlgoTools.cc.

Member Typedef Documentation

Definition at line 73 of file PFTrackAlgoTools.cc.

Constructor & Destructor Documentation

PFTrackAlgoTools::edm::Exception::Exception ( Code  category)
explicit
PFTrackAlgoTools::edm::Exception::Exception ( Code  category,
std::string const &  message 
)
PFTrackAlgoTools::edm::Exception::Exception ( Code  category,
char const *  message 
)
PFTrackAlgoTools::edm::Exception::Exception ( Code  category,
std::string const &  message,
cms::Exception const &  another 
)
PFTrackAlgoTools::edm::Exception::Exception ( Code  category,
char const *  message,
cms::Exception const &  another 
)
PFTrackAlgoTools::edm::Exception::Exception ( Exception const &  other)
virtual PFTrackAlgoTools::edm::Exception::~Exception ( )
throw (
)
virtual

Reimplemented from PFTrackAlgoTools::cms::Exception.

Member Function Documentation

Code PFTrackAlgoTools::edm::Exception::categoryCode ( ) const
inline
virtual Exception* PFTrackAlgoTools::edm::Exception::clone ( ) const
virtual

Reimplemented from PFTrackAlgoTools::cms::Exception.

static const std::string& PFTrackAlgoTools::edm::Exception::codeToString ( Code  )
static
Exception& PFTrackAlgoTools::edm::Exception::operator= ( Exception const &  other)
virtual void PFTrackAlgoTools::edm::Exception::rethrow ( )
privatevirtual

Reimplemented from PFTrackAlgoTools::cms::Exception.

virtual int PFTrackAlgoTools::edm::Exception::returnCode_ ( ) const
privatevirtual

Reimplemented from PFTrackAlgoTools::cms::Exception.

void PFTrackAlgoTools::edm::Exception::swap ( Exception other)
inline

Definition at line 87 of file PFTrackAlgoTools.cc.

static void PFTrackAlgoTools::edm::Exception::throwThis ( Code  category,
char const *  message0 = "",
char const *  message1 = "",
char const *  message2 = "",
char const *  message3 = "",
char const *  message4 = "" 
)
static
static void PFTrackAlgoTools::edm::Exception::throwThis ( Code  category,
char const *  message0,
int  intVal,
char const *  message2 = "" 
)
static

Member Data Documentation

Code PFTrackAlgoTools::edm::Exception::category_
private

Definition at line 112 of file PFTrackAlgoTools.cc.