strategy method for matching the exception type with the current exchange . this default implementation will match as : always true if no when predicate on the exception type otherwise the when predicate is matches against the current exchange concode_field_sep Logger LOG concode_field_sep boolean filter concode_elem_sep Iterator<Throwable> createExceptionIterator concode_elem_sep int getInheritanceLevel concode_elem_sep void initRouteAndContextScopedExceptionPolicies concode_elem_sep boolean findMatchedExceptionPolicy concode_elem_sep OnExceptionDefinition getExceptionPolicy
boolean function ( OnExceptionDefinition arg0 , Exchange arg1 ) { if ( arg0 . getOnWhen ( ) == null || arg0 . getOnWhen ( ) . getExpression ( ) == null ) { return true ; } return arg0 . getOnWhen ( ) . getExpression ( ) . matches ( arg1 ) ; }