0 Replies Latest reply on Jun 29, 2005 3:35 AM by hau

    NestedError?

    hau

      i would like to write cactus tests for a stateless session bean. some
      methods on the ejb throw application-specific exceptions. in some of
      my test cases, i would like to catch the application-specific exception
      and pass to make sure that case is correct. however, when the
      application-specific exception is thrown, it is wrapped in a
      org.jboss.util.NestedError. the nested error is the exception i want
      to catch. why does jboss do that? can i configure jboss so that the
      application-specific exception is thrown instead?