Portlet Factory, Version 6.1.2


 

Error Handler builder

Use the Error Handler builder to catch errors that occur in a model.

This builder adds error handling to your model and catches, by default, any Exception, Error, or Throwable instance.

The Java exceptions may occur during the run-time execution of Web application actions. You can specify error handling on any action, such as a page, a method, or an action list. You can also set a general handler for the model to be used if an action has no error handler.

This type of error handling is modeled closely after the Java try-catch exception handling and JSP page directive, where each page can set the error page at design time. In all these cases, the innermost handler (catch) is called to handle the exception.

Parent topic: Builder help


Library | Support |