The <exception-handler> Element

Purpose

The <exception-handler> element defines an exception handler.

It may appear either inside the <exception-handlers> element to define a global exception handler or inside an <action> element to define a local exception handler.

Attributes

NameTypeDescription
class CDATA Required, Dynamic - The name of a class implementing the Plugin interface.
type CDATA The name of the exception class, the exception handler should handle. Defaults to java.lang.Exception.

Body

The body of the <exception-handler> element is defined by the following sequence:

(param*)

Related elements

<param>, <exception-handlers>, <action>