AnCH Framework  0.1
Another C++ Hack Framework
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
anch::device::DeviceException Class Reference

#include <deviceException.hpp>

Inheritance diagram for anch::device::DeviceException:
Collaboration diagram for anch::device::DeviceException:

Public Member Functions

 DeviceException (const std::string &message) noexcept
 
 DeviceException (const std::string &message, int errorCode) noexcept
 
virtual ~DeviceException () noexcept
 
virtual const char * what () const noexcept
 

Detailed Description

Device exception class.

Author
Vincent Lachenal

Constructor & Destructor Documentation

DeviceException::DeviceException ( const std::string &  message)
noexcept

DeviceException constructor

Parameters
messageThe error message
DeviceException::DeviceException ( const std::string &  message,
int  errorCode 
)
noexcept

DeviceException constructor

Parameters
messageThe error message
errorCodeThe error code

DeviceException constructor

Parameters
messagethe error message
errorCodethe error code
DeviceException::~DeviceException ( )
virtualnoexcept

DeviceException destructor

Member Function Documentation

const char * DeviceException::what ( ) const
virtualnoexcept

Return the error message

Returns
The error message

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