979899100101102103
} @Override public CatchProcessor createProcessor(RouteContext routeContext) throws Exception { Processor childProcessor = routeContext.createProcessor(this); return new CatchProcessor(getExceptionClasses(), childProcessor); }
64656667686970
117118119120121122123
122123124125126127128
74757677787980
214215216217218219220
Predicate handle = null; if (handled != null) { handle = handled.createPredicate(routeContext); } return new CatchProcessor(getExceptionClasses(), childProcessor, when, handle); }
107108109110111112113
Predicate handle = handledPolicy; if (handled != null) { handle = handled.createPredicate(routeContext); } return new CatchProcessor(exceptionClasses, childProcessor, when, handle); }
167168169170171172173
103104105106107108109
Predicate handle = handledPolicy; if (handled != null) { handle = handled.createPredicate(routeContext); } return new CatchProcessor(getExceptionClasses(), childProcessor, when, handle); }
177178179180181182183
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); }