1 /// 2 module drmi.core.exceptions; 3 4 import drmi.core.types; 5 6 import std.conv : text; 7 8 /// 9 class RMIProcessException : Exception 10 { 11 /// 12 RMIResponse res; 13 /// 14 this(RMIResponse r, string msg) { res = r; super(msg); } 15 } 16 17 /// 18 class RMITimeoutException : Exception 19 { 20 /// 21 RMICall call; 22 /// 23 this(RMICall c) { call = c; super("timeout for " ~ text(c)); } 24 }