2 Replies Latest reply on Dec 7, 2006 7:14 PM by Jye Tucker

    Custom Exception Handler

    Jye Tucker Newbie

      I'm trying to implement a custom exception handler based on exceptions.xml. The aim is to have the handler email the details any exceptions which occur - basically an email version of the seam debug page.

      The exceptions framework doesn't seem to support plugging in custom handlers. So at the moment I am working around it by copying the built-in Exceptions component class, adding the new handler in initialize() and overriding the default component with @Install(precedence). Unfortunately the Exceptions class isn't really designed for extension - hence the need to copy it.

      Can anyone suggest a better solution?