Error Handling"

From Documentation
m
Line 4: Line 4:
  
 
=Error Handling When Loading ZUML Documents=
 
=Error Handling When Loading ZUML Documents=
 +
 +
If an un-caught exception is thrown when loading a ZUML document, it is handled directly by the Web server. In other words, the handling is no different from other servlets.
 +
 +
By default, the Web server displays an error page showing the error message and stack trace. For example,
 +
 +
[[Image:Exception.png]]
 +
 
=Error Handling When Serving AU Requests=
 
=Error Handling When Serving AU Requests=
 
=Version History=
 
=Version History=

Revision as of 02:52, 7 December 2010

Here we describe how to handle errors. An error is caused by an exception that is not caught by the application. An exception might be thrown in two situations: when loading a ZUML document, and when serving an AU request (aka, an Ajax request).

Error Handling When Loading ZUML Documents

If an un-caught exception is thrown when loading a ZUML document, it is handled directly by the Web server. In other words, the handling is no different from other servlets.

By default, the Web server displays an error page showing the error message and stack trace. For example,

Exception.png

Error Handling When Serving AU Requests

Version History

Last Update : 2010/12/07


Version Date Content
     



Last Update : 2010/12/07

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.