Bugzilla – Bug 4634
support subclass of java.lang.Throwable in all ExceptionClassFilter elements
Last modified: 2013-01-31 19:01:14 UTC
These elements include <skippable-exception-classes>, <retryable-exception-classes>, <no-rollback-exception-classes>. Currently they take subclasses of exception. I think we can broaden it to take all subclasses of Throwable to be flexible.
Some apps may need to recover from, or retry java.lang.Error, such as java.lang.AssertionError.
I don't think we should do this.
As per http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html
"An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch."
And therefore should not try to skip or retry.
I second the veto.