0 Replies Latest reply on Apr 8, 2009 10:39 AM by joe Koch

    Observer("org.jboss.seam.exceptionNotHandled") does not work

    joe Koch Newbie


      i like to report all exceptions that occurs in our system. i found @Observer techniques so i played a bit around.

      the org.jboss.seam.security.loginSuccessful works fine!

      the org.jboss.seam.exceptionHandled or org.jboss.seam.exceptionNotHandled is never get called. no matter what i throw!

      question 1:
      should i get all exceptions thrown in a seam component? eg IllegalStateException or nullpointer?

      question 2:
      is there a way how i can access the exception?
      i like to print it out!



      public class ReportException {
          private static final Log LOGGER = LoggerFactory.make();
          public void exceptionOccured1() {
              LOGGER.info("Handel Exception ");
          public void exceptionOccured2() {
              LOGGER.info("Handel Exception ");
          public void exceptionOccured3() {
              LOGGER.info("Handel Exception ");
          public void exceptionOccured4() {
              LOGGER.info("Handel Exception ");