Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently, users can use `@ThrowableAnnotation` to denote a custom exception is unrecoverable to avoid unnecessary retries, but it is not possible to annotate an exception from the standard libs or third-party libs.
Thus, I propose to add a configuration option, such as `unrecoverable.exceptions`, of which values are a comma-separated list of fully-qualified names of exceptions, with a default value covering the most common unrecoverable exceptions like NPE, ClassNotFoundException, etc.