All resources All frames

# ErrorFilter

The error filter allows you to redefine on the fly all the error messages flowing out of Jigsaw. The general principle is that all error messages comming out of Jigsaw are filtered, and intercepted. Jigsaw then uses internal requests to query some other resource for generating the exact text of the error message.

## Inerits

The ErrorFilter class inerits from the following classes:

- Resource
- FramedResource
- ResourceFrame
- ResourceFilter

## Attributes description

The ErrorFilter defines the following attributes:

- base-url
- extension

`base-url`

semantics
  The base URL of the directory containing the error messages. When this filter is enabled it will issue an internal request to the resource whose URL starts with this base url attribute value, and whose name is the number of the error code (plus an extra extension, see below).
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to /errors.

`extension`

semantics
  The extension of the resources that knows how to generate eror messages. If the base-url attribute is set to /errors, and this attribute is set to html, then the when generating the message for a 407 error, the error filter will use the /errors/407.html resource.
type
  This attribute is an editable StringAttribute
default value
  This attribute defaults to html.

Jigsaw Team
$Id: org.w3c.jigsaw.filters.ErrorFilter.html,v 1.3 1998/03/27 08:17:15 bmahe Exp $