B2BITS FIX Antenna C++  2.27.0
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 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

◆ Exception() [1/2]

Utils::Exception::Exception ( )

Constructor.

◆ Exception() [2/2]

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

Constructor.

◆ ~Exception()

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

Destructor.

Member Function Documentation

◆ reason()

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

Returns the reason for this exception.

◆ what()

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

Returns the reason for this exception.

Member Data Documentation

◆ m_reason

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

std::string that describes raised exception