API Documentation
Loading...
Searching...
No Matches
HardwareException Class Reference

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

#include <HardwareException.h>

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

Public Member Functions

 HardwareException (const TranslatedString &error)
 
 HardwareException (const TranslatedString &error, const TranslatedString &category)
 
- Public Member Functions inherited from Exception
 Exception (const std::exception &exception)
 
 Exception (const String &title, const bool &capture_stack=true)
 
 Exception (const TranslatedString &title, const bool &capture_stack=true)
 
 Exception (const TranslatedString &title, const TranslatedString &message, const bool &capture_stack=true)
 
virtual const TranslatedStringgetCategory () const
 
virtual TranslatedString getMessage () const
 
virtual uint04 getPriority () const
 
virtual const TranslatedStringgetTitle () const
 
UUID id () const
 
void printToLogger ()
 
void setCategory (const TranslatedString &category)
 
virtual void setMessage (const TranslatedString &message)
 
void setThread (const String &thread)
 
void setTitle (const TranslatedString &title)
 
virtual const StringstackTrace () const
 
const Stringthread () const
 
virtual ~Exception ()=default
 

Additional Inherited Members

- Protected Attributes inherited from Exception
TranslatedString m_category
 
TranslatedString m_message
 
uint04 m_priority
 
String m_stack_trace
 
String m_thread
 
TranslatedString m_title
 

Detailed Description

A typical exception thrown when something fails with a Device.


Constructor & Destructor Documentation

◆ HardwareException() [1/2]

HardwareException ( const TranslatedString & error)
inlineexplicit

◆ HardwareException() [2/2]

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

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