The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
UpdateManagerException Class Reference

Exception thrown by the UpdateManagerSvc when something goes wrong. More...

#include <GaudiKernel/UpdateManagerException.h>

Inheritance diagram for UpdateManagerException:
Collaboration diagram for UpdateManagerException:

Public Member Functions

 UpdateManagerException (const std::string &Message="unspecified exception", const std::string &Tag="*UpdateManagerSvc*", const StatusCode &Code=StatusCode::FAILURE)
 
 UpdateManagerException (const std::string &Message, const std::string &Tag, const StatusCode &Code, const GaudiException &Ex)
 
 ~UpdateManagerException () override throw () =default
 
UpdateManagerExceptionclone () const override
 clone operation
 
- Public Member Functions inherited from GaudiException
 GaudiException (std::string Message, std::string Tag, StatusCode Code)
 Constructor (1)
 
 GaudiException (std::string Message, std::string Tag, StatusCode Code, const GaudiException &Exception)
 Constructor (2)
 
 GaudiException (std::string Message, std::string Tag, StatusCode Code, const std::exception &Exception)
 Constructor (3)
 
 GaudiException (const GaudiException &Exception)
 Copy constructor (deep copying!)
 
virtual ~GaudiException () throw ()
 destructor (perform the deletion of "previous" field!)
 
GaudiExceptionoperator= (const GaudiException &Exception)
 assignment operator
 
virtual const std::string & message () const
 error message to be printed
 
virtual const std::string & setMessage (const std::string &newMessage)
 update the error message to be printed
 
virtual const std::string & tag () const
 name tag for the exception, or exception type
 
virtual const std::string & setTag (const std::string &newTag)
 update name tag
 
virtual const StatusCodecode () const
 StatusCode for Exception.
 
virtual const StatusCodesetCode (const StatusCode &newStatus)
 update the status code for the exception
 
virtual GaudiExceptionprevious () const
 get the previous exception ( "previous" element in the linked list)
 
virtual const std::string & backTrace () const
 return the stack trace at instantiation
 
virtual std::ostream & printOut (std::ostream &os=std::cerr) const
 methods for overloaded printout to std::ostream& and MsgStream&
 
virtual MsgStreamprintOut (MsgStream &os) const
 Output the exception to the Gaudi MsgStream.
 
const char * what () const override throw ()
 method from std::exception
 

Additional Inherited Members

- Protected Attributes inherited from GaudiException
std::string m_message
 
std::string m_tag
 error message
 
StatusCode m_code
 exception tag
 
std::string m_backTrace
 status code for exception
 
std::unique_ptr< GaudiExceptionm_previous
 stack trace at instantiation
 
- Static Protected Attributes inherited from GaudiException
static bool s_proc
 "previous" element in the linked list
 

Detailed Description

Exception thrown by the UpdateManagerSvc when something goes wrong.

See also
GaudiException
Author
Marco Clemencic
Date
2005-12-14

Definition at line 24 of file UpdateManagerException.h.

Constructor & Destructor Documentation

◆ UpdateManagerException() [1/2]

UpdateManagerException::UpdateManagerException ( const std::string & Message = "unspecified exception",
const std::string & Tag = "*UpdateManagerSvc*",
const StatusCode & Code = StatusCode::FAILURE )
inline

Definition at line 26 of file UpdateManagerException.h.

28 : GaudiException( Message, Tag, Code ) {}
GaudiException(std::string Message, std::string Tag, StatusCode Code)
Constructor (1)

◆ UpdateManagerException() [2/2]

UpdateManagerException::UpdateManagerException ( const std::string & Message,
const std::string & Tag,
const StatusCode & Code,
const GaudiException & Ex )
inline

Definition at line 30 of file UpdateManagerException.h.

32 : GaudiException( Message, Tag, Code, Ex ) {}

◆ ~UpdateManagerException()

UpdateManagerException::~UpdateManagerException ( )
throw ( )
overridedefault

Member Function Documentation

◆ clone()

UpdateManagerException * UpdateManagerException::clone ( ) const
inlineoverridevirtual

clone operation

Reimplemented from GaudiException.

Definition at line 36 of file UpdateManagerException.h.

36{ return new UpdateManagerException( *this ); }
UpdateManagerException(const std::string &Message="unspecified exception", const std::string &Tag="*UpdateManagerSvc*", const StatusCode &Code=StatusCode::FAILURE)

The documentation for this class was generated from the following file: