GRACEFUL TERMINATION OF A WEB ENABLED CLIENT
First Claim
7. A data processing system comprising:
- a web server in networking communications with a web browser enabled client, the web enabled client including;
a processor;
a memory coupled to the processor having instructions which when executed by the processor causes the processor to;
receive browser executable code from the web server to at least display a web page associated with the task editor in a browser window;
execute at least a portion of the received executable code within an exception handler;
determine whether an abnormal condition is encountered within the exception handler; and
,if an abnormal condition is encountered, call one or more global functions to terminate execution of the browser executable code on the client, clear the displayed browser window and display an error message in the browser window.
1 Assignment
0 Petitions
Accused Products
Abstract
In an embodiment, a client-server based project schedule management system comprises a task editor accessible through a web browser to perform various scheduling tasks by members of a project. A web enabled client receives browser executable code from a web server. The executable code includes an exception handler coded in JavaScript. A portion of the received code is executed within the exception handler to determine whether an abnormal condition has been encountered. If an abnormal condition has been encountered, the exception handler calls one or more global functions to gracefully terminate execution of the client-side browser executable code, clears the currently displayed browser window and displays an error message in the browser window. The exception handler includes one or more JavaScript try and catch block statements. The displayed error message may be used to provide notice to a user of the client that the task editor session has failed and/or output diagnostic information associated with the abnormal condition.
-
Citations
23 Claims
-
7. A data processing system comprising:
-
a web server in networking communications with a web browser enabled client, the web enabled client including; a processor; a memory coupled to the processor having instructions which when executed by the processor causes the processor to; receive browser executable code from the web server to at least display a web page associated with the task editor in a browser window; execute at least a portion of the received executable code within an exception handler; determine whether an abnormal condition is encountered within the exception handler; and
,if an abnormal condition is encountered, call one or more global functions to terminate execution of the browser executable code on the client, clear the displayed browser window and display an error message in the browser window. - View Dependent Claims (8, 9, 10, 11)
-
-
13. A computer program product embodied in a tangible form on a computer readable storage medium comprising instructions which when executed by a processor associated with a web enabled client, causes the processor to:
-
receive browser executable code from a web server for display of a web page associated with a task editor; execute at least a portion of the received code within an exception handler; determine whether an abnormal condition is encountered within the exception handler; and
,when an abnormal condition is encountered, call one or more global functions to terminate execution of the browser executable code on the client, clear the displayed browser window and display an error message in the browser window. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A computer-readable medium comprising one or more sequences of instructions which when executed by one more processors cause the one or more processors to:
-
receive JavaScript code from a web server for display of a web page associated with a task editor; execute at least a portion of the received code within an exception handler that comprises one or more Try and Catch Block statements; determine whether an abnormal condition is encountered within the exception handler; and
,when an abnormal condition is encountered, call one or more global functions to terminate execution of the browser executable code on the client, clear the displayed browser window and display an error message in the browser window;
wherein the displayed error message provides diagnostic information associated with the abnormal condition or provides notice to a user of the client that the task editor has failed.
-
-
20. A data processing apparatus comprising:
-
means for receiving browser executable code from a web server for at least displaying a user input form associated with the task editor in a browser window; means for executing at least a portion of the received code within an exception handler; means for determining whether an abnormal condition is encountered within the exception handler; and
,means for calling, when an abnormal condition is encountered, one or more global functions which when executed cause terminating execution of the browser executable code, clearing the displayed browser window and displaying an error message in the browser window of the client. - View Dependent Claims (1, 2, 3, 4, 5, 6, 12, 21, 22, 23)
-
Specification