L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
L4::Com_error Class Reference

Error conditions during IPC. More...

#include <l4/cxx/exceptions>

+ Inheritance diagram for L4::Com_error:
+ Collaboration diagram for L4::Com_error:

Public Member Functions

 Com_error (long err) noexcept
 Create a Com_error for the given L4 IPC error code.
 
- Public Member Functions inherited from L4::Runtime_error
 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.
 

Detailed Description

Error conditions during IPC.

This exception encapsulates all IPC error conditions of L4 IPC.

Definition at line 274 of file exceptions.

Constructor & Destructor Documentation

◆ Com_error()

L4::Com_error::Com_error ( long  err)
inlineexplicitnoexcept

Create a Com_error for the given L4 IPC error code.

Parameters
errThe L4 IPC error code (l4_ipc... return value).

Definition at line 281 of file exceptions.


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