type of exception to throw
existing exception to chain with new exception
message to pass to exception constructor
file from which this exception was thrown
line from which this exception was thrown
auto next_e = new Exception("1"); try { throwChained!(Exception)(next_e, "2"); assert (false); } catch (Exception e) { assert (e.next is next_e); assert (e.message() == "2"); assert (e.next.msg == "1"); }
Throws a new exception E chained together with an existing exception.