B15F
Board 15 Famulus Edition
Public Member Functions | Protected Attributes | List of all members
DriverException Class Reference

#include <driverexception.h>

+ Inheritance diagram for DriverException:

Public Member Functions

 DriverException (const char *message)
 
 DriverException (const std::string &message)
 
virtual ~DriverException () throw ()
 
virtual const char * what () const throw ()
 

Protected Attributes

std::string msg_
 failure description
 

Detailed Description

Exception driver problems, for instance incompatible firmware version.

Definition at line 10 of file driverexception.h.

Constructor & Destructor Documentation

◆ DriverException() [1/2]

DriverException::DriverException ( const char *  message)
inlineexplicit

Constructor

Parameters
messageas c-string

Definition at line 17 of file driverexception.h.

◆ DriverException() [2/2]

DriverException::DriverException ( const std::string &  message)
inlineexplicit

Constructor

Parameters
messageas c++-string

Definition at line 25 of file driverexception.h.

◆ ~DriverException()

virtual DriverException::~DriverException ( )
throw (
)
inlinevirtual

Standard-destructor

Definition at line 32 of file driverexception.h.

Member Function Documentation

◆ what()

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

Get failure description

Returns
error message as c-string

Definition at line 40 of file driverexception.h.


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