![]() |
The Gaudi Framework
v26r3
|
Define general base for Gaudi exception. More...
#include <GaudiKernel/GaudiException.h>
Public Member Functions | |
GaudiException (const std::string &Message, const std::string &Tag, const StatusCode &Code) | |
Constructor (1) More... | |
GaudiException (const std::string &Message, const std::string &Tag, const StatusCode &Code, const GaudiException &Exception) | |
Constructor (2) More... | |
GaudiException (const std::string &Message, const std::string &Tag, const StatusCode &Code, const std::exception &Exception) | |
Constructor (3) More... | |
GaudiException (const GaudiException &Exception) | |
Copy constructor (deep copying!) More... | |
virtual | ~GaudiException () throw () |
destructor (perform the deletion of "previous" field!) More... | |
GaudiException & | operator= (const GaudiException &Exception) |
assignment operator More... | |
virtual const std::string & | message () const |
error message to be printed More... | |
virtual const std::string & | setMessage (const std::string &newMessage) |
update the error message to be printed More... | |
virtual const std::string & | tag () const |
name tag for the exception, or exception type More... | |
virtual const std::string & | setTag (const std::string &newTag) |
update name tag More... | |
virtual const StatusCode & | code () const |
StatusCode for Exception. More... | |
virtual const StatusCode & | setCode (const StatusCode &newStatus) |
update the status code for the exception More... | |
virtual GaudiException * | previous () const |
get the previous exception ( "previous" element in the linked list) More... | |
virtual std::ostream & | printOut (std::ostream &os=std::cerr) const |
methods for overloaded printout to std::ostream& and MsgStream& More... | |
virtual MsgStream & | printOut (MsgStream &os) const |
Output the exception to the Gaudi MsgStream. More... | |
virtual GaudiException * | clone () const |
clone operation More... | |
virtual const char * | what () const throw () |
method from std::exception More... | |
GaudiException (const std::string &Message, const std::string &Tag, const StatusCode &Code) | |
Constructor (1) More... | |
GaudiException (const std::string &Message, const std::string &Tag, const StatusCode &Code, const GaudiException &Exception) | |
Constructor (2) More... | |
GaudiException (const std::string &Message, const std::string &Tag, const StatusCode &Code, const std::exception &Exception) | |
Constructor (3) More... | |
GaudiException (const GaudiException &Exception) | |
Copy constructor (deep copying!) More... | |
virtual | ~GaudiException () throw () |
destructor (perform the deletion of "previous" field!) More... | |
GaudiException & | operator= (const GaudiException &Exception) |
assignment operator More... | |
virtual const std::string & | message () const |
error message to be printed More... | |
virtual const std::string & | setMessage (const std::string &newMessage) |
update the error message to be printed More... | |
virtual const std::string & | tag () const |
name tag for the exception, or exception type More... | |
virtual const std::string & | setTag (const std::string &newTag) |
update name tag More... | |
virtual const StatusCode & | code () const |
StatusCode for Exception. More... | |
virtual const StatusCode & | setCode (const StatusCode &newStatus) |
update the status code for the exception More... | |
virtual GaudiException * | previous () const |
get the previous exception ( "previous" element in the linked list) More... | |
virtual std::ostream & | printOut (std::ostream &os=std::cerr) const |
methods for overloaded printout to std::ostream& and MsgStream& More... | |
virtual MsgStream & | printOut (MsgStream &os) const |
Output the exception to the Gaudi MsgStream. More... | |
virtual GaudiException * | clone () const |
clone operation More... | |
virtual const char * | what () const throw () |
method from std::exception More... | |
Protected Attributes | |
std::string | m_message |
std::string | m_tag |
error message More... | |
StatusCode | m_code |
exception tag More... | |
GaudiException * | m_previous |
status code for exception More... | |
Static Protected Attributes | |
static bool | s_proc |
"previous" element in the linked list More... | |
Friends | |
class | StatusCode |
std::ostream & | operator<< (std::ostream &os, const GaudiException &ge) |
overloaded printout to std::ostream More... | |
std::ostream & | operator<< (std::ostream &os, const GaudiException *pge) |
MsgStream & | operator<< (MsgStream &os, const GaudiException &ge) |
overloaded printout to MsgStream More... | |
MsgStream & | operator<< (MsgStream &os, const GaudiException *pge) |
overloaded printout to MsgStream More... | |
std::ostream & | operator<< (std::ostream &os, const GaudiException &ge) |
overloaded printout to std::ostream More... | |
std::ostream & | operator<< (std::ostream &os, const GaudiException *pge) |
MsgStream & | operator<< (MsgStream &os, const GaudiException &ge) |
overloaded printout to MsgStream More... | |
MsgStream & | operator<< (MsgStream &os, const GaudiException *pge) |
overloaded printout to MsgStream More... | |
Define general base for Gaudi exception.
Definition at line 24 of file GaudiException.h.
|
inline |
Constructor (1)
Message | error message |
Tag | "name tag", or exeption type |
Code | status code |
Definition at line 42 of file GaudiException.h.
|
inline |
Constructor (2)
Message | error message |
Tag | "name tag", or exeption type |
Code | status code |
Exception | "previous" exception |
Definition at line 57 of file GaudiException.h.
|
inline |
Constructor (3)
Message | error message |
Tag | "name tag", or exeption type |
Code | status code |
Exception | "previous" exception (used to improve the error message) |
Definition at line 73 of file GaudiException.h.
|
inline |
Copy constructor (deep copying!)
Definition at line 88 of file GaudiException.h.
|
inlinevirtual |
destructor (perform the deletion of "previous" field!)
Definition at line 99 of file GaudiException.h.
|
inline |
Constructor (1)
Message | error message |
Tag | "name tag", or exeption type |
Code | status code |
Definition at line 42 of file GaudiException.h.
|
inline |
Constructor (2)
Message | error message |
Tag | "name tag", or exeption type |
Code | status code |
Exception | "previous" exception |
Definition at line 57 of file GaudiException.h.
|
inline |
Constructor (3)
Message | error message |
Tag | "name tag", or exeption type |
Code | status code |
Exception | "previous" exception (used to improve the error message) |
Definition at line 73 of file GaudiException.h.
|
inline |
Copy constructor (deep copying!)
Definition at line 88 of file GaudiException.h.
|
inlinevirtual |
destructor (perform the deletion of "previous" field!)
Definition at line 99 of file GaudiException.h.
|
inlinevirtual |
clone operation
Reimplemented in UpdateManagerException, and UpdateManagerException.
Definition at line 167 of file GaudiException.h.
|
inlinevirtual |
clone operation
Reimplemented in UpdateManagerException, and UpdateManagerException.
Definition at line 167 of file GaudiException.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inline |
assignment operator
Definition at line 106 of file GaudiException.h.
|
inline |
assignment operator
Definition at line 106 of file GaudiException.h.
|
inlinevirtual |
get the previous exception ( "previous" element in the linked list)
Definition at line 142 of file GaudiException.h.
|
inlinevirtual |
get the previous exception ( "previous" element in the linked list)
Definition at line 142 of file GaudiException.h.
|
inlinevirtual |
methods for overloaded printout to std::ostream& and MsgStream&
Definition at line 145 of file GaudiException.h.
|
inlinevirtual |
methods for overloaded printout to std::ostream& and MsgStream&
Definition at line 145 of file GaudiException.h.
Output the exception to the Gaudi MsgStream.
Definition at line 156 of file GaudiException.h.
Output the exception to the Gaudi MsgStream.
Definition at line 156 of file GaudiException.h.
|
inlinevirtual |
update the status code for the exception
Definition at line 137 of file GaudiException.h.
|
inlinevirtual |
update the status code for the exception
Definition at line 137 of file GaudiException.h.
|
inlinevirtual |
update the error message to be printed
Definition at line 121 of file GaudiException.h.
|
inlinevirtual |
update the error message to be printed
Definition at line 121 of file GaudiException.h.
|
inlinevirtual |
update name tag
Definition at line 129 of file GaudiException.h.
|
inlinevirtual |
update name tag
Definition at line 129 of file GaudiException.h.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
method from std::exception
Definition at line 170 of file GaudiException.h.
|
inlinevirtual |
method from std::exception
Definition at line 170 of file GaudiException.h.
|
friend |
overloaded printout to std::ostream
Definition at line 180 of file GaudiException.h.
|
friend |
overloaded printout to std::ostream
Definition at line 180 of file GaudiException.h.
|
friend |
Definition at line 183 of file GaudiException.h.
|
friend |
Definition at line 183 of file GaudiException.h.
|
friend |
overloaded printout to MsgStream
Definition at line 188 of file GaudiException.h.
|
friend |
overloaded printout to MsgStream
Definition at line 188 of file GaudiException.h.
|
friend |
overloaded printout to MsgStream
Definition at line 192 of file GaudiException.h.
|
friend |
overloaded printout to MsgStream
Definition at line 192 of file GaudiException.h.
|
friend |
Definition at line 34 of file GaudiException.h.
|
mutableprotected |
exception tag
Definition at line 174 of file GaudiException.h.
|
mutableprotected |
Definition at line 172 of file GaudiException.h.
|
mutableprotected |
status code for exception
Definition at line 175 of file GaudiException.h.
|
mutableprotected |
error message
Definition at line 173 of file GaudiException.h.
|
staticprotected |
"previous" element in the linked list
Definition at line 176 of file GaudiException.h.