33#include <NDEVR/Exception.h>
34#include <NDEVR/String.h>
35#include <NDEVR/Translator.h>
47 : Exception(_t(
"Hardware Fault"), error, false)
49 setCategory(_t(
"Hardware Error"));
55 : Exception(_t(
"Hardware Fault"), error, false)
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.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.
@ category
The category this object belongs to.