Hello Mike,
 
You might want to take a look at FacesTrace (
http://facestrace.sourceforge.net/
<BLOCKED::http://facestrace.sourceforge.net/>  )
 
I think it does everything you specified or at least provide a good
starting point.
 
With kind regards,
  Marco Beelen

________________________________

From: Mike Quilleash [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 17 april 2007 16:19
To: MyFaces Discussion
Subject: Exception handling in JSF


Hi all,
 
I am trying to come up with a way to catch all exceptions that occur
during the JSF lifecycle.  When this happens I want to display a debug
page with useful info; stack trace, current view, component tree,
session state etc.
 
I'm having trouble finding a good place to insert logic like this.
 
PhaseListener - no good, only run before and after, not during phases.
Servlet Filter - will catch everything but FacesContext is destroyed by
this point so no access to the component tree.
FacesServlet - final, not sure I want to override this anyway
Lifecycle - possibility, but again, not sure I want to override this.
 
Does anyone have an experience of plugging in a generic exception
handler somewhere in the framework?
 
Cheers.
 
Mike.
 
 This e-mail is bound by the terms and conditions described at
http://www.subexazure.com/mail-disclaimer.html


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD
and in Japan, as Banyu - direct contact information for affiliates is 
available at http://www.merck.com/contact/contacts.html) that may be 
confidential, proprietary copyrighted and/or legally privileged. It is 
intended solely for the use of the individual or entity named on this 
message. If you are not the intended recipient, and have received this 
message in error, please notify us immediately by reply e-mail and then 
delete it from your system.

------------------------------------------------------------------------------

Reply via email to