W3C libwww Architecture

The Error Class

The Error class provides an easy API for registering errors occurring while the Library serves a request. All errors are registered in an "error stack" in the Request object which allows for nested errors. The Error class is both natural language independent and application independent in that it uses enumerations in order to refer to specific errors. It is for the application to provide an error presentation module which interprets the errors associated with a request. An example of such an implementation can be found in the HTDialog module.


Henrik Frystyk, libwww@w3.org, @(#) $Id: Errors.html,v 1.7 1996/05/21 01:23:28 frystyk Exp $