Browse Prior Art Database

Method to route errors to devices based on the Device Availability and Error Code.

IP.com Disclosure Number: IPCOM000167977D
Original Publication Date: 2008-Feb-26
Included in the Prior Art Database: 2008-Feb-26
Document File: 2 page(s) / 67K

Publishing Venue

IBM

Abstract

Disclosed is a method to have a specialized error handler for an application which intercepts errors (or exceptions in Java*) and routes them to the appropriate output device based on the nature of the error and as well as the availability of the output device.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 68% of the total text.

Page 1 of 2

Method to route errors to devices based on the Device Availability and Error Code .

Typically, applications configure their errors to go to specific devices e.g. disk, tapes, printers, sound cards, LEDS. But these are hardcoded values in the applications.

Disclosed is a method for an application to have a special error handler which routes errors to the appropriate device based on a combination of the nature of the error and the devices available. For instance, if the error is: "No space on Disk", it does not make sense to route this message to a log file on the Disk. Instead, the error could be routed to the LED (flashing light corresponding to the error), sound card (beeps/an automated voice reading the error), and/or to the printer. Similarly, for applications which output error messages on the display, if the display is not available/down, the message can be routed to other devices which the user has access to. The system can also be configured to take alternate mechanisms to "display" the error, if the window in which the application is running is not visible. In such a case, the system can turn on audible notification in addition to visually displaying the error on the screen. This audible notification can be turned off when the screen is "visible" (on top).

Steps:
1. Set Configuration Parameters for the list of output devices along with r...