#include <DetDesc/ParamException.h>
Inheritance diagram for ParamException:
Public Types | |
| BAD_KEY | |
| BAD_TYPE | |
| enum | ExceptionType { BAD_KEY, BAD_TYPE } |
| Type of problem encountered in ParamValidDataObject. More... | |
Public Member Functions | |
| ParamException (const std::string &name, ExceptionType t=BAD_KEY) | |
| Constructor. | |
| ParamException (const std::string &name, const std::type_info &req, const std::type_info &actual) | |
| Constructor for a BAD_TYPE exception giving informations about the types. | |
| virtual | ~ParamException () throw () |
| Destructor. | |
| ExceptionType | type () const |
| Returns the type of ParamException. | |
| virtual const std::string & | message () const |
| virtual const std::string & | setMessage (const std::string &newMessage) |
| virtual const std::string & | tag () const |
| virtual const std::string & | setTag (const std::string &newTag) |
| virtual const StatusCode & | code () const |
| virtual const StatusCode & | setCode (const StatusCode &newStatus) |
| virtual GaudiException * | previous () const |
| virtual std::ostream & | printOut (std::ostream &os=std::cerr) const |
| virtual MsgStream & | printOut (MsgStream &os) const |
| virtual GaudiException * | clone () const |
| virtual const char * | what () const |
Protected Attributes | |
| std::string | m_message |
| std::string | m_tag |
| StatusCode | m_code |
| GaudiException * | m_previous |
Private Attributes | |
| ExceptionType | m_type |
| store the type | |
Andrea Valassi
Marco Clemencic
Definition at line 20 of file ParamException.h.
Type of problem encountered in ParamValidDataObject.
Definition at line 25 of file ParamException.h.
| ParamException::ParamException | ( | const std::string & | name, | |
| ExceptionType | t = BAD_KEY | |||
| ) |
Constructor.
| ParamException::ParamException | ( | const std::string & | name, | |
| const std::type_info & | req, | |||
| const std::type_info & | actual | |||
| ) |
Constructor for a BAD_TYPE exception giving informations about the types.
| virtual ParamException::~ParamException | ( | ) | throw () [virtual] |
Destructor.
| ExceptionType ParamException::type | ( | ) | const [inline] |
Returns the type of ParamException.
Definition at line 40 of file ParamException.h.
00040 { return m_type; }
ExceptionType ParamException::m_type [private] |
1.4.7