1 #ifndef GAUDIKERNEL_GAUDIEXCEPTION_H 2 #define GAUDIKERNEL_GAUDIEXCEPTION_H 58 virtual const
std::
string&
message()
const {
return m_message; }
62 m_message = newMessage;
123 #endif // GAUDIKERNEL_GAUDIEXCEPTION_H Definition of the MsgStream class used to transmit messages.
virtual const std::string & backTrace() const
return the stack trace at instantiation
Define general base for Gaudi exception.
virtual const StatusCode & setCode(const StatusCode &newStatus)
update the status code for the exception
code_t m_code
The status code value.
static bool s_proc
"previous" element in the linked list
virtual const std::string & setMessage(const std::string &newMessage)
update the error message to be printed
std::ostream & operator<<(std::ostream &os, const GaudiException &ge)
overloaded printout to std::ostream
const char * what() const override
method from std::exception
std::string m_tag
error message
virtual const StatusCode & code() const
StatusCode for Exception.
This class is used for returning status codes from appropriate routines.
virtual GaudiException * previous() const
get the previous exception ( "previous" element in the linked list)
virtual GaudiException * clone() const
clone operation
virtual const std::string & tag() const
name tag for the exception, or exception type
std::string m_backTrace
status code for exception
virtual const std::string & setTag(const std::string &newTag)
update name tag
StatusCode m_code
exception tag
std::string message() const
Description (or name) of StatusCode value.
std::unique_ptr< GaudiException > m_previous
stack trace at instantiation