4 Replies Latest reply on Jan 14, 2008 12:04 PM by pmuir

    Access exception stacktrace from error page

    vas_opel

      I am using pages.xml to handle System excpetions in Seam. I have included these lines to the pages.xml file to handle the nullPointerExcpetions:


      <exception class="java.lang.NullPointerExcpetion">
      <redirect view-id="/error.xhtml">
      <message>error occured</message>
      </redirect>


      With this I achieved to redirect on a error page every time that i get a nullpointer exception in the system. The functionality i want to add is somehow to have access to the stacktrace of the exception within the error page (for debug purposes). Is this possible?