edu.sc.seis.fissuresUtil.exceptionHandler
Class GlobalExceptionHandler
java.lang.Object
edu.sc.seis.fissuresUtil.exceptionHandler.GlobalExceptionHandler
public class GlobalExceptionHandler
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalExceptionHandler
public GlobalExceptionHandler()
handle
public static void handle(java.lang.Throwable thrown)
getNumHandled
public static int getNumHandled()
handle
public static void handle(java.lang.String message)
handle
public static void handle(java.lang.String message,
java.lang.Throwable thrown)
handle
public static void handle(java.lang.String message,
java.lang.Throwable thrown,
java.util.List additonalSections)
add
public static void add(ExceptionInterceptor interceptor)
add
public static void add(ExceptionInterceptor interceptor,
int position)
remove
public static void remove(ExceptionInterceptor interceptor)
add
public static void add(Extractor extractor)
add
public static void add(ExceptionReporter reporter)
remove
public static void remove(ExceptionReporter reporter)
add
public static void add(PostProcess process)
remove
public static void remove(PostProcess process)
add
public static void add(java.lang.String sectionName,
java.io.File file)
append
public static void append(java.lang.String sectionName,
java.lang.String contents)
registerWithAWTThread
public static void registerWithAWTThread()
- This supposedly sets a global exception handler in the awt thread only,
so that uncaught exceptions can be processed/saved/viewed. Will not
necessarily work for future releases (> 1.4). Perhaps it will, perhaps
not. NOTE: It does not work for exceptions in other threads. Java1.5 is
supposed to have a mechanism to do this.