JBoss.org Community Documentation

3.2.2.7. Error handling

Errors can be handled either during page rendering or when a portlet is interacted with. Simple Portal categorizes errors and associates each error type with a category name (string) that can be used to for programatic handling. The error categories are as follows:

Category name Use case
not_found The portlet that triggered the error cannot be located
portlet_error The portlet triggered an exception
internal_error The portlet triggered an unexpected exception recognized as an internal error
unavailable The portlet is located but has been put out of service

Table 3.1. Error Categories