Skip to content
Permalink
Browse files
BATCHEE-156 report wrong class names in exception config
typos in skippable-exception-classes and retryable-exception-classes
did silently get swallowed. Now they are properly reported
  • Loading branch information
struberg committed Jan 28, 2022
1 parent 9c8f90c commit 86fa17f48a8c1edd4e0a2d5be8d6c0dc82f9c40d
Showing 1 changed file with 2 additions and 2 deletions.
@@ -88,9 +88,9 @@ private static int contains(final Set<String> list, final Exception e) {
}
}
} catch (final ClassNotFoundException cnfe) {
// no-op
throw new BatchContainerRuntimeException("Cannot load class defined in the batch jobs XML: " + exClassName, cnfe);
} catch (final NoClassDefFoundError ncdfe) {
// no-op
throw new BatchContainerRuntimeException("Cannot load parts of the class defined in the batch jobs XML: " + exClassName, ncdfe);
}
}

0 comments on commit 86fa17f

Please sign in to comment.