#include <StateMachine.h>
Public Member Functions | |
Fail (xcept::Exception &exception) | |
xcept::Exception & | getException () const |
std::string | getReason () const |
std::string | getTraceback () const |
Private Attributes | |
xcept::Exception | exception_ |
Definition at line 48 of file StateMachine.h.
smproxy::Fail::Fail | ( | xcept::Exception & | exception | ) | [inline] |
Definition at line 51 of file StateMachine.h.
: exception_(exception) {};
xcept::Exception& smproxy::Fail::getException | ( | ) | const [inline] |
Definition at line 54 of file StateMachine.h.
References exception_.
Referenced by smproxy::StateMachine::failEvent().
{ return exception_; }
std::string smproxy::Fail::getReason | ( | ) | const [inline] |
Definition at line 52 of file StateMachine.h.
References exception_.
Referenced by smproxy::StateMachine::failEvent().
{ return exception_.message(); }
std::string smproxy::Fail::getTraceback | ( | ) | const [inline] |
Definition at line 53 of file StateMachine.h.
References exception_.
Referenced by smproxy::StateMachine::failEvent().
{ return xcept::stdformat_exception_history(exception_); }
xcept::Exception smproxy::Fail::exception_ [mutable, private] |
Definition at line 57 of file StateMachine.h.
Referenced by getException(), getReason(), and getTraceback().