1 Reply Latest reply on Aug 28, 2007 5:09 AM by mnrz

    Handling all exception with one action?

    mnrz

      Hello

      how to handle all exception in a seam component. I am thinking of having an stateless bean in which some action methods are defined so I can handle exceptions regarding to its type and also provide some functionality such as sending exception message to administrator by user, etc.

      actually, I need something like tag of pages.xml but using java codes.

      one solution I am considering is using @Observer but don't know how to notify that method when an exception is thrown.

      any suggestion would be of great help
      thanks