You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@batchee.apache.org by "Mark Struberg (Jira)" <ji...@apache.org> on 2022/01/28 12:00:00 UTC
[jira] [Updated] (BATCHEE-156) typo in skippable-exception-classes classname gets silently swallowed
[ https://issues.apache.org/jira/browse/BATCHEE-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Struberg updated BATCHEE-156:
----------------------------------
Description:
If someone has an error in his {{skippable-exception-classes}} class name then it currently gets silently catched away in {{ExceptionConfig.java}}.
I cannot think about a case where this is an intended behaviour. We should at least log a warning about it. Same for NoClassDefFoundError.
We should probably even throw a BatchContainerRuntimeException as this is a clear misconfiguration and should get fixed by the batch developer.
was:
If someone has an error in his {{skippable-exception-classes}} class name then it currently gets silently catched away in {{ExceptionConfig.java}}.
I cannot think about a case where this is an intended behaviour. We should at least log a warning about it. Same for NoClassDefFoundError.
> typo in skippable-exception-classes classname gets silently swallowed
> ---------------------------------------------------------------------
>
> Key: BATCHEE-156
> URL: https://issues.apache.org/jira/browse/BATCHEE-156
> Project: BatchEE
> Issue Type: Task
> Components: jbatch-core
> Affects Versions: 1.0.1
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Priority: Major
> Fix For: 1.0.2
>
>
> If someone has an error in his {{skippable-exception-classes}} class name then it currently gets silently catched away in {{ExceptionConfig.java}}.
> I cannot think about a case where this is an intended behaviour. We should at least log a warning about it. Same for NoClassDefFoundError.
> We should probably even throw a BatchContainerRuntimeException as this is a clear misconfiguration and should get fixed by the batch developer.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)