CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CMSexception Class Referenceabstract

#include <CMSexception.h>

Inheritance diagram for CMSexception:
cms::Exception BaseGenexception Fastexception Genexception Capri::Error GenTerminate Capri::Fatal Capri::Severe Capri::Warning

Public Member Functions

 CMSexception () throw ()
 
virtual std::string explainSelf (void) const
 
virtual const char * what () const =0 throw ()
 
virtual ~CMSexception () 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)
 
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 ~Exception () throw ()
 

Detailed Description

base CMSexception

Definition at line 14 of file CMSexception.h.

Constructor & Destructor Documentation

CMSexception::CMSexception ( )
throw (
)
inline

Definition at line 16 of file CMSexception.h.

16 : cms::Exception("") {}
virtual CMSexception::~CMSexception ( )
throw (
)
inlinevirtual

Definition at line 17 of file CMSexception.h.

17 {}

Member Function Documentation

virtual std::string CMSexception::explainSelf ( void  ) const
inlinevirtual

Reimplemented from cms::Exception.

Reimplemented in Fastexception.

Definition at line 19 of file CMSexception.h.

References what().

19 { return what();}
virtual const char * what() const =0
virtual const char* CMSexception::what ( ) const
throw (
)
pure virtual

Reimplemented from cms::Exception.

Implemented in BaseGenexception, and Fastexception.

Referenced by explainSelf().