Method and system for handling an unexpected exception generated by an application

   
   

A system and method for handling the generation of an unexpected exception by an application. When the application generates an unexpected exception (i.e., crashes), the application's exception filter launches an outside exception handling program (EHP) that is separate and distinct from the application. Through a special protocol, the application and the EHP collaborate in responding to the unexpected exception. In this protocol, the application and the EHP communicate through kernel objects accessible by handles in a shared memory structure that the application creates before launching of the exception handling program and then shares with the EHP. Through this shared memory, the application also provides the EHP with information about the types of recovery options to offer the user. Through a graphical user interface, the EHP is then responsible for notifying the user of the application that an unexpected exception has occurred. Through the graphical user interface, the EHP also provides the user with the ability to specify various courses of action in response to the unexpected exception.

Ein System und eine Methode für die Behandlung des Erzeugung einer unerwarteten Ausnahme durch eine Anwendung. Wenn die Anwendung eine unerwartete Ausnahme (d.h., Abbrüche) erzeugt, stößt der Ausnahmefilter der Anwendung ein äußeres Ausnahmebehandlung Programm aus (EHP) das unterschiedlich und von der Anwendung eindeutig ist. Durch ein spezielles Protokoll arbeiten die Anwendung und die EHP bei der Reaktion auf die unerwartete Ausnahme zusammen. In diesem Protokoll stehen die Anwendung und die EHP durch die Kerngegenstände in Verbindung, die durch Handgriffe in einem geteilten Zweikanalgerät zugänglich sind, das die Anwendung verursacht, bevor sie des Ausnahmebehandlung Programms ausstößt und dann mit dem EHP teilt. Durch dieses geteilte Gedächtnis versieht die Anwendung auch das EHP mit Informationen über die Arten der Wiederaufnahme Wahlen, um den Benutzer anzubieten. Durch eine graphische Benutzerschnittstelle ist das EHP dann für das Benachrichtigen des Benutzers über der Anwendung verantwortlich, daß eine unerwartete Ausnahme aufgetreten ist. Durch die graphische Benutzerschnittstelle befähigt das EHP auch den Benutzer, verschiedene Vorgehensweisen in Erwiderung auf die unerwartete Ausnahme zu spezifizieren.

 
Web www.patentalert.com

< Apparatus and method for demand load analysis

< Preventing garbage collection of objects in object oriented computer programming languages

> Method and apparatus for controlling the timing of the invocation of events within a computer runtime environment

> Method and apparatus for capacity consumption profiling in a client/server environment

~ 00161