![]() |
API Documentation
|
Provides consistent interface to handle errors through the throw expression. All exceptions generated by the Parke library inherit from Exception. More...
#include <Exception.hpp>
Public Member Functions | |
| 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 TranslatedString & | getCategory () const |
| virtual TranslatedString | getMessage () const |
| virtual uint04 | getPriority () const |
| virtual const TranslatedString & | getTitle () 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 String & | stackTrace () const |
| const String & | thread () const |
| virtual | ~Exception ()=default |
Protected Attributes | |
| TranslatedString | m_category |
| TranslatedString | m_message |
| uint04 | m_priority |
| String | m_stack_trace |
| String | m_thread |
| TranslatedString | m_title |
Provides consistent interface to handle errors through the throw expression. All exceptions generated by the Parke library inherit from Exception.
|
virtualdefault |
| Exception | ( | const TranslatedString & | title, |
| const bool & | capture_stack = true ) |
| Exception | ( | const std::exception & | exception | ) |
| Exception | ( | const TranslatedString & | title, |
| const TranslatedString & | message, | ||
| const bool & | capture_stack = true ) |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
| UUID id | ( | ) | const |
| void printToLogger | ( | ) |
|
inline |
|
inlinevirtual |
Reimplemented in GraphicsException.
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |