172173174175176177178
List<Class> exceptions = getExceptionClasses(); if (exceptions.isEmpty()) { throw new IllegalArgumentException("At least one exception must be configured on " + this); } return new CatchProcessor(exceptions, childProcessor, when, handle); }
214215216217218219220
Predicate handle = null; if (handled != null) { handle = handled.createPredicate(routeContext); } return new CatchProcessor(getExceptionClasses(), childProcessor, when, handle); }
147148149150151152153
134135136137138139140
} @Override public CatchProcessor createProcessor(RouteContext routeContext) throws Exception { Processor childProcessor = routeContext.createProcessor(this); return new CatchProcessor(getExceptionClasses(), childProcessor); }
74757677787980
69707172737475
9899100101102103104
111112113114115116117
Predicate handle = handledPolicy; if (handled != null) { handle = handled.createPredicate(routeContext); } return new CatchProcessor(exceptionClasses, childProcessor, when, handle); }
222223224225226227228
102103104105106107108