mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-01 11:36:43 +00:00
4d442bca30
This patch reduces the number of exception types by facilitating globally defined exceptions for common usage patterns shared by most services. In particular, RPC functions that demand a session-resource upgrade not longer reflect this condition via a session-specific exception but via the 'Out_of_ram' or 'Out_of_caps' types. Furthermore, the 'Parent::Service_denied', 'Parent::Unavailable', 'Root::Invalid_args', 'Root::Unavailable', 'Service::Invalid_args', 'Service::Unavailable', and 'Local_service::Factory::Denied' types have been replaced by the single 'Service_denied' exception type defined in 'session/session.h'. This consolidation eases the error handling (there are fewer exceptions to handle), alleviates the need to convert exceptions along the session-creation call chain, and avoids possible aliasing problems (catching the wrong type with the same name but living in a different scope). |
||
---|---|---|
.. | ||
blk_cache | ||
clipboard | ||
dynamic_rom | ||
fs_log | ||
fs_rom | ||
input_filter | ||
input_merger | ||
iso9660 | ||
loader | ||
log_report | ||
log_terminal | ||
lx_fs | ||
mixer | ||
nic_bridge | ||
nic_dump | ||
nic_loopback | ||
nic_router | ||
nit_fb | ||
nitpicker | ||
part_blk | ||
ram_blk | ||
ram_fs | ||
report_rom | ||
rom_blk | ||
rom_filter | ||
rom_prefetcher | ||
tar_rom | ||
terminal_crosslink | ||
terminal_log | ||
trace_fs | ||
tz_vmm | ||
vfs | ||
vmm |