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
- About using the builder call editor
The builder call editor allows you to specify all the input values to a builder call.
- Error Handler builder inputs
This topic describes the inputs for the Error Handler builder.
- About handling errors for individual model actions
You can determine how to handle errors for individual actions by adding an error handler for each action.
- Advanced error handling techniques
If the method calls within the Java-based method have an error handler, the lower-level handler, which is the handler in the method calls that are contained in the Java-based method, is called.
- Overview: working with Java
IBM® WebSphere Portlet Factory applications rely on Java for all their application logic.
- Log4j categories
The log4j IBM WebSphere Portlet Factory categories are listed in the WEB-INF\config\log4j.properties file in the project.
Library | Support |