Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-254

Undeclared checked exception is thrown from EJB invocation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.0.0.CR1, 7.0.0.Final
    • 7.0.0.Beta2
    • EE, EJB
    • None

      If an interceptor throws an exception that is not declared by the method the calling code will still get that undeclared checked exception. This should not happen. The most logical solution would be to throw an UndeclaredThrowableException instead.

      See https://github.com/wolfc/jboss-as/commits/JBAS-9221 for test.

            johnbailey_jira John Bailey (Inactive)
            rhn-engineering-cdewolf Carlo de Wolf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: