B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
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.
 
 Exception (const std::string &aReason)
 Constructor.
 
std::string const & reason () const throw ()
 Returns the reason for this exception.
 
virtual const char * what () const throw ()
 Returns the reason for this exception.
 
virtual ~Exception () throw ()
 Destructor.
 

Protected Attributes

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

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