A process in a data processing system for handling messages received in a message queue in a message handling process for a graphical user interface. In response to receiving a message in the queue, a determination is made as to whether the error is a message. In response to an identification of an error message, that message is intercepted before processing by the message handling process. A determination is made as to whether a corrective action is required in response to the error message and as to whether the error message should be reformatted. If corrective action is required, that action is initiated by the process. Additionally, if the message should be reformatted, the process then reformats the message and returns the message to the message handling process for further processing.
A method and apparatus to perform customized error handling is described. For example, this method makes it possible to intercept and replace an error code generated by an application. Error messages, such as third party error messages, can be replaced. The application which generates the error message may or may not be updated. The files used by that application may or may not be updated.
The control unit comprises a first display unit which, when an error occurs, displays a primary error message; an error information input unit by which an user inputs error information corresponding to the primary error message, a memory which stores the error information input using the error information input unit; and a second display unit which displays the error information.
An apparatus and method for handling messages output to a computer console, including easy and accurate definition of message handling procedures. The apparatus includes a response definition unit that dynamically selects a console message, receives definition information pertaining thereto, and stores the information in a storage unit. The received definition information defines at least a portion of a predetermined procedure to be executed in response to the selected message. The selected message may be displayed on a display unit in a message selection window. The received definition information may be entered through a definition window. When the selected message is reported to the apparatus, a response execution unit, coupled to the storage unit, executes the predetermined procedure.
A method and system for dynamically updating the error messages corresponding to a shipped software product. The exiting generic error messages shipped with a software product are replaced or appended as errors are resolved or better understood, whereby a user who receives an error message will see the latest known information for that error message. A file of updated error messages is automatically downloaded when the user is connected to the Internet. Any time an error message is to be displayed, an error handling mechanism compares identifier information of the error message to the file of updated error messages, and if a match is found, overwrites or extends the existing error message that was shipped with the code for display to the user. If no match is found, the existing message is displayed. An updated error message can be changed or reset to the original message if a problem changes or goes away, and updated messages may include certain identifying information for the purpose of assisting product support personnel in resolving user problems.
A method to intercept operating system messages in an informational processing device, the method comprising the steps of: waiting for an operating system message; determining if the message corresponds to a previously selected operating system message; and performing an operating system call that has been previously mapped to the selected operating system message.