CMS 3D CMS Logo

Public Member Functions | Private Attributes

smproxy::Fail Class Reference

#include <StateMachine.h>

List of all members.

Public Member Functions

 Fail (xcept::Exception &exception)
xcept::ExceptiongetException () 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.


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().

{ 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_); }

Member Data Documentation

Definition at line 57 of file StateMachine.h.

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