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

    Handling all exception with one action?

    Mohammad Norouzi Novice

      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