Exception thrown for all types of errors in the Bond Runtime Library.
More...
#include <bond/systems/exception.h>
|
| Exception () |
| Constructs an Exception with an empty message. More...
|
|
| Exception (const char *format,...) |
| Constructs an Exception with a formatted message. The arguments are forwarded to vsnprintf to write the message to the encapsulated error message buffer. More...
|
|
const char * | GetMessage () const |
| Returns the encapsulated error message. More...
|
|
Exception thrown for all types of errors in the Bond Runtime Library.
◆ Exception() [1/2]
Bond::Exception::Exception |
( |
| ) |
|
|
inline |
Constructs an Exception with an empty message.
◆ Exception() [2/2]
Bond::Exception::Exception |
( |
const char * |
format, |
|
|
|
... |
|
) |
| |
Constructs an Exception with a formatted message. The arguments are forwarded to vsnprintf to write the message to the encapsulated error message buffer.
◆ GetMessage()
const char * Bond::Exception::GetMessage |
( |
| ) |
const |
|
inline |
Returns the encapsulated error message.
◆ MESSAGE_BUFFER_LENGTH
const size_t Bond::Exception::MESSAGE_BUFFER_LENGTH = 2048 |
|
static |
Length of the buffer for the encapsulated error message.
The documentation for this class was generated from the following file:
- include/bond/systems/exception.h