You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2004/06/04 14:54:53 UTC

cvs commit: cocoon-2.1/src/webapp/samples/errorhandling samples.xml

vgritsenko    2004/06/04 05:54:53

  Modified:    src/webapp/samples/errorhandling samples.xml
  Log:
  Add explanation for Error example
  
  Revision  Changes    Path
  1.5       +7 -1      cocoon-2.1/src/webapp/samples/errorhandling/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/errorhandling/samples.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- samples.xml	5 Apr 2004 12:34:23 -0000	1.4
  +++ samples.xml	4 Jun 2004 12:54:53 -0000	1.5
  @@ -54,6 +54,12 @@
      <sample name="NullPointerException" href="exception/exception?exception=nullPointer">
       Generate RuntimeException.
      </sample>
  +   <note>
  +     Since Cocoon does not process java.lang.Error (and derived objects),
  +     behavior of this sample will depend on behavior of servlet engine.
  +     In case of Jetty and Tomcat, they will show empty page and print
  +     Error's stacktrace to the console.
  +   </note>
      <sample name="Error" href="exception/exception?exception=error">
       Generate Error.
      </sample>