W3C Jigsaw


All Resources All filters

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.


Inherits

The ErrorFilter class inherits from the following classes:


Attributes description

The ErrorFilter defines the following attributes:


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 a computed 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 a computed StringAttribute
default value
This attribute defaults to html.


Jigsaw Team
$Id: w3c.jigsaw.filters.ErrorFilter.html,v 1.1 1996/09/08 21:00:49 abaird Exp $