Changeset 5083


Ignore:
Timestamp:
2003-08-04T11:38:44+12:00 (21 years ago)
Author:
jmt12
Message:

Several changes to allow GLI to run external processes under windows if a space appears in the working path. Also added comment explaining how to provide a custom exception handler - we could add automatic error reporting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/Gatherer.java

    r5075 r5083  
    6565 * @version 2.3
    6666 */
     67
     68// How to catch All Exceptions including those from the AWT Event thread.
     69// Step 1: register a handler class in your main()
     70//
     71// System.setProperty("sun.awt.exception.handler", "YourHandler");
     72//
     73// Step 2: implement your handler class.
     74//
     75// public class YourHandler {
     76//   public void handle(Throwable thrown) {
     77//     eat the exception without dumping to the console.
     78//   }
     79// }
     80
    6781public class Gatherer {
    6882
Note: See TracChangeset for help on using the changeset viewer.