Go to the documentation of this file.
11 #ifndef GAUDIKERNEL_GAUDIEXCEPTION_H
12 #define GAUDIKERNEL_GAUDIEXCEPTION_H
68 virtual const
std::
string&
message()
const {
return m_message; }
72 m_message = newMessage;
110 const char*
what()
const throw()
override {
return message().c_str(); }
133 #endif // GAUDIKERNEL_GAUDIEXCEPTION_H
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::unique_ptr< GaudiException > m_previous
stack trace at instantiation
virtual GaudiException * previous() const
get the previous exception ( "previous" element in the linked list)
code_t m_code
The status code value.
ostream & operator<<(ostream &s, const MyCustomType &m)
virtual const StatusCode & setCode(const StatusCode &newStatus)
update the status code for the exception
virtual const std::string & backTrace() const
return the stack trace at instantiation
virtual const std::string & setTag(const std::string &newTag)
update name tag
virtual const std::string & tag() const
name tag for the exception, or exception type
std::string m_backTrace
status code for exception
std::string m_tag
error message
virtual GaudiException * clone() const
clone operation
virtual const StatusCode & code() const
StatusCode for Exception.
const char * what() const override
method from std::exception
StatusCode m_code
exception tag