mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-20 11:39:14 +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). |
||
---|---|---|
.. | ||
alarm.h | ||
attached_dataspace.h | ||
attached_io_mem_dataspace.h | ||
attached_mmio.h | ||
attached_ram_dataspace.h | ||
attached_rom_dataspace.h | ||
child_policy_dynamic_rom.h | ||
config.h | ||
dither_painter.h | ||
dynamic_rom_session.h | ||
handle_registry.h | ||
packet_allocator.h | ||
packet_stream.h | ||
path.h | ||
pixel_alpha8.h | ||
pixel_rgb565.h | ||
pixel_rgb888.h | ||
pixel_rgba.h | ||
ram_session_guard.h | ||
reporter.h | ||
ring_buffer.h | ||
server.h | ||
session_policy.h | ||
session_requester.h | ||
signal_rpc_dispatcher.h | ||
single_session_service.h | ||
slave.h | ||
static_parent_services.h | ||
static_root.h | ||
surface.h | ||
texture_rgb565.h | ||
texture_rgb888.h | ||
texture.h | ||
time_source.h | ||
timed_semaphore.h | ||
timeout.h | ||
timer.h |