other.exceptionPolicyStrategy = exceptionPolicyStrategy;
}
public void configure(RouteContext routeContext, ErrorHandler handler) {
if (handler instanceof ErrorHandlerSupport) {
ErrorHandlerSupport handlerSupport = (ErrorHandlerSupport) handler;
List<OnExceptionDefinition> list = onExceptions.get(routeContext);
if (list != null) {
for (OnExceptionDefinition exception : list) {
handlerSupport.addExceptionPolicy(routeContext, exception);
}
}
}
}