CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
VertexException Class Reference

Common base class. More...

#include <VertexException.h>

Inheritance diagram for VertexException:
cms::Exception

Public Member Functions

 VertexException () throw ()
 
 VertexException (const std::string &message) throw ()
 
const char * what () const override throw ()
 
 ~VertexException () override 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)
 
char const * what () const noexceptoverride
 
 ~Exception () noexceptoverride
 

Private Attributes

std::string theMessage
 

Detailed Description

Common base class.

Exceptions thrown from RecoVertex dependent subsystems.

Definition at line 12 of file VertexException.h.

Constructor & Destructor Documentation

VertexException::VertexException ( )
throw (
)
inline

Definition at line 14 of file VertexException.h.

14 : cms::Exception("VertexException") {}
VertexException::VertexException ( const std::string &  message)
throw (
)
inline

Definition at line 15 of file VertexException.h.

15 : cms::Exception("VertexException"), theMessage(message) {}
std::string message() const
Definition: Exception.cc:145
std::string theMessage
VertexException::~VertexException ( )
throw (
)
inlineoverride

Definition at line 16 of file VertexException.h.

16 {}

Member Function Documentation

const char* VertexException::what ( ) const
throw (
)
inlineoverride

Definition at line 17 of file VertexException.h.

References theMessage.

Referenced by ReconstructorFromFitter::vertices().

17 { return theMessage.c_str(); }
std::string theMessage

Member Data Documentation

std::string VertexException::theMessage
private

Definition at line 20 of file VertexException.h.

Referenced by what().