RuntimeEmergencyNotifier

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RuntimeEmergencyNotifier

Michael Gross-4

               I have a question about the log created by this class.

When an unhandled exception occurs the documents say that a summary of the error and its stack are written to error log.

Are there any circumstances that would prevent the error log from being written?

 

Thanks,

 

 

 

Michael Gross

Blue Heron Consulting
90 Airpark Dr, Suite 200
Rochester, NY 14624
www.BlueHeron-Consulting.com
Office: 800-253-3449 / 585-464-8035 (x207)
Fax:    800-464-9901 / 585-464-9760

 

 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: RuntimeEmergencyNotifier

Runar Jordahl
Make a subclass of RuntimePackager.RuntimeFullDumper to configure what
information is written to disk.

RuntimePackager.RuntimeErrorNotifier can be subclassed (look at
#notifyUserOfUnhandledException: ) to configure the dialog shown to
the user when an unhandled exception occurs.

We automatically make builds by scripting the UI. Below I show how we
use the two classes:
rtp := RuntimePackager.RuntimeBuilderUI new.
rtp open.
(…)
rtp options errorNotifierClass: <new class>.
rtp options imageDumperClass: <new class>.
(…)

If there are errors in these classes, there might be no error log
written to disk. Failing to create the file (for example if the image
tries to create a file in a folder where the user does not have write
permission) will of course also lead to problems.

Runar

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc