L4Re Operating System Framework
Interface and Usage Documentation
|
Exception for an abstract runtime error. More...
#include <l4/cxx/exceptions>
Public Member Functions | |
Runtime_error (long err_no, char const *extra=0) noexcept | |
Create a new Runtime_error. | |
char const * | str () const noexcept override |
Return a human readable string for the exception. | |
char const * | extra_str () const |
Get the description text for this runtime error. | |
long | err_no () const noexcept |
Get the error value for this runtime error. | |
Public Member Functions inherited from L4::Base_exception | |
virtual | ~Base_exception () noexcept |
Destruction. | |
Public Member Functions inherited from L4::Exception_tracer | |
void const *const * | pc_array () const noexcept |
Get the array containing the call trace. | |
int | frame_count () const noexcept |
Get the number of entries that are valid in the call trace. | |
Additional Inherited Members | |
Protected Member Functions inherited from L4::Base_exception | |
Base_exception () noexcept | |
Create a base exception. | |
Protected Member Functions inherited from L4::Exception_tracer | |
Exception_tracer () noexcept | |
Create a back trace. | |
Exception for an abstract runtime error.
This is the base class for a set of exceptions that cover all errors that have a C error value (see l4_error_code_t).
Definition at line 139 of file exceptions.
|
inlineexplicitnoexcept |
Create a new Runtime_error.
err_no | Error value for this runtime error. |
extra | Description of what was happening while the error occured. |
Definition at line 152 of file exceptions.
|
inlinenoexcept |
Get the error value for this runtime error.
Definition at line 181 of file exceptions.
|
inline |
Get the description text for this runtime error.
Definition at line 173 of file exceptions.