#include <CBadTransitionException.h>
Inheritance diagram for CBadTransitionException:
Public Methods | |
CBadTransitionException (const char *pOldState, const char *pNewState, const char *pAction) | |
CBadTransitionException (const CBadTransitionException &rhs) | |
~CBadTransitionException () | |
CBadTransitionException & | operator= (const CBadTransitionException &rhs) |
int | operator== (const CBadTransitionException &rhs) |
int | operator!= (const CBadTransitionException &rhs) |
string | getOldState () const |
string | getDestinationState () const |
virtual Int_t | ReasonCode () const |
virtual const char * | ReasonText () const |
Protected Methods | |
void | BuildReasonText () |
Private Attributes | |
string | m_sOldState |
Id of state we were in. | |
string | m_sDestinationState |
Name of state we tried to go to. | |
string | m_sReasonText |
Exception reason is built here. |
Definition at line 304 of file CBadTransitionException.h.
|
Constructor. This is called when declarations of the form e.g.:
Definition at line 296 of file CBadTransitionException.cpp. References BuildReasonText(). |
|
Copy construction. This is invoked when e.g. an object is passed by value to a function. The copy constructor makes a clone of the rhs object.
Definition at line 311 of file CBadTransitionException.cpp. References BuildReasonText(). |
|
Definition at line 318 of file CBadTransitionException.h. |
|
Build the reason text from the state variables of the class and the action information held in the base class. This member function should be called whenever the state of the object is modified. Implicit inputs are:
Definition at line 384 of file CBadTransitionException.cpp. References m_sDestinationState, m_sOldState, and m_sReasonText. Referenced by CBadTransitionException(), and operator=(). |
|
Definition at line 333 of file CBadTransitionException.h. References m_sDestinationState. |
|
Definition at line 329 of file CBadTransitionException.h. References m_sOldState. |
|
Definition at line 322 of file CBadTransitionException.h. References operator==(). |
|
Assignment operation. This member function supports assignment of an object of this class to an object of the same class.
Definition at line 327 of file CBadTransitionException.cpp. References BuildReasonText(), m_sDestinationState, m_sOldState, and CReadoutException::operator=(). |
|
Equality compare. Definition at line 342 of file CBadTransitionException.cpp. References m_sDestinationState, m_sOldState, and CReadoutException::operator==(). Referenced by operator!=(). |
|
Definition at line 359 of file CBadTransitionException.cpp. |
|
Definition at line 369 of file CBadTransitionException.cpp. References m_sReasonText. |
|
Name of state we tried to go to.
Definition at line 308 of file CBadTransitionException.h. Referenced by BuildReasonText(), getDestinationState(), operator=(), and operator==(). |
|
Id of state we were in.
Definition at line 307 of file CBadTransitionException.h. Referenced by BuildReasonText(), getOldState(), operator=(), and operator==(). |
|
Exception reason is built here.
Definition at line 309 of file CBadTransitionException.h. Referenced by BuildReasonText(), and ReasonText(). |