* Adds an exception handler route for the given exception types
*/
public ExceptionType onException(Class... exceptions) {
ExceptionType last = null;
for (Class ex : exceptions) {
last = last == null ? onException(ex) : last.onException(ex);
}
return last != null ? last : onException(Exception.class);
}
/**