B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
Utils::Exception Class Reference

Generic application exception. More...

#include <B2BITS_Exception.h>

+ Inheritance diagram for Utils::Exception:
+ Collaboration diagram for Utils::Exception:

Public Member Functions

 Exception ()
 Constructor. More...
 
 Exception (const std::string &aReason)
 Constructor. More...
 
std::string const & reason () const throw ()
 Returns the reason for this exception. More...
 
virtual const char * what () const B2B_OVERRIDE throw ()
 Returns the reason for this exception. More...
 
virtual ~Exception () throw ()
 Destructor. More...
 

Protected Attributes

std::string m_reason
 std::string that describes raised exception More...
 

Detailed Description

Generic application exception.

Constructor & Destructor Documentation

Utils::Exception::Exception ( )

Constructor.

Utils::Exception::Exception ( const std::string &  aReason)

Constructor.

virtual Utils::Exception::~Exception ( )
throw (
)
virtual

Destructor.

Member Function Documentation

std::string const& Utils::Exception::reason ( ) const
throw (
)

Returns the reason for this exception.

virtual const char* Utils::Exception::what ( ) const
throw (
)
virtual

Returns the reason for this exception.

Member Data Documentation

std::string Utils::Exception::m_reason
protected