CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
smproxy::Fail Class Reference

#include <StateMachine.h>

Inheritance diagram for smproxy::Fail:

Public Member Functions

 Fail (xcept::Exception &exception)
 
xcept::Exception & getException () const
 
std::string getReason () const
 
std::string getTraceback () const
 

Private Attributes

xcept::Exception exception_
 

Detailed Description

Definition at line 48 of file StateMachine.h.

Constructor & Destructor Documentation

smproxy::Fail::Fail ( xcept::Exception &  exception)
inline

Definition at line 51 of file StateMachine.h.

51 : exception_(exception) {};
xcept::Exception exception_
Definition: StateMachine.h:57

Member Function Documentation

xcept::Exception& smproxy::Fail::getException ( ) const
inline

Definition at line 54 of file StateMachine.h.

References exception_.

Referenced by smproxy::StateMachine::failEvent().

54 { return exception_; }
xcept::Exception exception_
Definition: StateMachine.h:57
std::string smproxy::Fail::getReason ( ) const
inline

Definition at line 52 of file StateMachine.h.

References exception_.

Referenced by smproxy::StateMachine::failEvent().

52 { return exception_.message(); }
xcept::Exception exception_
Definition: StateMachine.h:57
std::string smproxy::Fail::getTraceback ( ) const
inline

Definition at line 53 of file StateMachine.h.

References exception_.

Referenced by smproxy::StateMachine::failEvent().

53 { return xcept::stdformat_exception_history(exception_); }
xcept::Exception exception_
Definition: StateMachine.h:57

Member Data Documentation

xcept::Exception smproxy::Fail::exception_
mutableprivate

Definition at line 57 of file StateMachine.h.

Referenced by getException(), getReason(), and getTraceback().