AnCH Framework 0.1
Another C++ Hack Framework
 
Loading...
Searching...
No Matches
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() [1/2]

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

DeviceException constructor

Parameters
messageThe error message

◆ DeviceException() [2/2]

anch::device::DeviceException::DeviceException ( const std::string & message,
int errorCode )
noexcept

DeviceException constructor

Parameters
messageThe error message
errorCodeThe error code

◆ ~DeviceException()

virtual anch::device::DeviceException::~DeviceException ( )
virtualnoexcept

DeviceException destructor

Member Function Documentation

◆ what()

virtual const char * anch::device::DeviceException::what ( ) const
virtualnoexcept

Return the error message

Returns
The error message
+ Here is the call graph for this function:

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