NDEVR
API Documentation
HardwareException

A typical exception thrown when something fails with a Device. More...

Inheritance diagram for HardwareException:
[legend]
Collaboration diagram for HardwareException:
[legend]

Public Member Functions

 HardwareException (const TranslatedString &error)
 Constructs a HardwareException with the given error message.
 HardwareException (const TranslatedString &error, const TranslatedString &category)
 Constructs a HardwareException with a custom error and category.

Detailed Description

A typical exception thrown when something fails with a Device.


Definition at line 41 of file HardwareException.h.

Constructor & Destructor Documentation

◆ HardwareException() [1/2]

HardwareException::HardwareException ( const TranslatedString & error)
inlineexplicit

Constructs a HardwareException with the given error message.

Parameters
[in]errorThe translated error description.

Definition at line 46 of file HardwareException.h.

◆ HardwareException() [2/2]

HardwareException::HardwareException ( const TranslatedString & error,
const TranslatedString & category )
inline

Constructs a HardwareException with a custom error and category.

Parameters
[in]errorThe translated error description.
[in]categoryThe translated category label for this exception.

Definition at line 54 of file HardwareException.h.

References category.


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