![]() |
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 128 of file exceptions.
|
inlineexplicitnoexcept |
Create a new Runtime_error.
| err_no | Error value for this runtime error. |
| extra | Description of what happened when the error occurred. |
Definition at line 141 of file exceptions.
References err_no().
Referenced by L4::Out_of_memory::Out_of_memory().
|
inlinenoexcept |
Get the error value for this runtime error.
Definition at line 170 of file exceptions.
Referenced by Runtime_error().
|
inline |
Get the description text for this runtime error.
Definition at line 162 of file exceptions.