Serial-TCP/IPbridge  1.0
Public Member Functions | Private Attributes | List of all members
BaseException Class Reference

Base exception class for all project exceptions. More...

#include <base_exception.h>

Inheritance diagram for BaseException:
Config::InvalidValueError ConfigParser::ParsingError Connection::ConnectionError TCPIPServer::TCPIPServerError ThreadingError Connection::ConnectionClosed

Public Member Functions

 BaseException (const std::string &errorMessage)
 Constructor. More...
 
virtual ~BaseException () throw ()
 
virtual const char * what () throw ()
 
virtual const char * what () const throw ()
 

Private Attributes

const std::string _errorMessage
 Error message carried in the exception. More...
 

Detailed Description

Base exception class for all project exceptions.

All project exceptions are derived from this class.

Constructor & Destructor Documentation

BaseException::BaseException ( const std::string &  errorMessage)
inlineexplicit

Constructor.

Parameters
errorMessageError message.
virtual BaseException::~BaseException ( )
throw (
)
inlinevirtual

Member Function Documentation

virtual const char* BaseException::what ( )
throw (
)
inlinevirtual

References _errorMessage.

virtual const char* BaseException::what ( ) const
throw (
)
inlinevirtual

References _errorMessage.

Member Data Documentation

const std::string BaseException::_errorMessage
private

Error message carried in the exception.

Referenced by what().


The documentation for this class was generated from the following file: