mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
committed by
Christian Helmuth
parent
5a3a1c704b
commit
0167d5af50
@@ -185,8 +185,14 @@ class Genode::Root_component : public Rpc_object<Typed_root<SESSION_TYPE> >,
|
||||
|
||||
SESSION_TYPE *s = 0;
|
||||
try { s = _create_session(adjusted_args, affinity); }
|
||||
catch (Out_of_ram) { throw Insufficient_ram_quota(); }
|
||||
catch (Out_of_caps) { throw Insufficient_cap_quota(); }
|
||||
catch (Out_of_ram) { throw Insufficient_ram_quota(); }
|
||||
catch (Out_of_caps) { throw Insufficient_cap_quota(); }
|
||||
catch (Service_denied) { throw; }
|
||||
catch (Insufficient_cap_quota) { throw; }
|
||||
catch (Insufficient_ram_quota) { throw; }
|
||||
catch (...) {
|
||||
warning("unexpected exception during ",
|
||||
SESSION_TYPE::service_name(), "-session creation"); }
|
||||
|
||||
/*
|
||||
* Consider that the session-object constructor may already have
|
||||
|
||||
Reference in New Issue
Block a user