public class GlobalExceptionHandler
extends java.lang.Object
Constructor and Description |
---|
GlobalExceptionHandler() |
Modifier and Type | Method and Description |
---|---|
static void |
add(ExceptionInterceptor interceptor) |
static void |
add(ExceptionInterceptor interceptor,
int position) |
static void |
add(ExceptionReporter reporter) |
static void |
add(Extractor extractor) |
static void |
add(PostProcess process) |
static void |
add(java.lang.String sectionName,
java.io.File file) |
static void |
append(java.lang.String sectionName,
java.lang.String contents) |
static int |
getNumHandled() |
static void |
handle(java.lang.String message) |
static void |
handle(java.lang.String message,
java.lang.Throwable thrown) |
static void |
handle(java.lang.String message,
java.lang.Throwable thrown,
java.util.List additonalSections) |
static void |
handle(java.lang.Throwable thrown) |
static void |
registerWithAWTThread()
This supposedly sets a global exception handler in the awt thread only,
so that uncaught exceptions can be processed/saved/viewed.
|
static void |
remove(ExceptionInterceptor interceptor) |
static void |
remove(ExceptionReporter reporter) |
static void |
remove(PostProcess process) |
public static void handle(java.lang.Throwable thrown)
public static int getNumHandled()
public static void handle(java.lang.String message)
public static void handle(java.lang.String message, java.lang.Throwable thrown)
public static void handle(java.lang.String message, java.lang.Throwable thrown, java.util.List additonalSections)
public static void add(ExceptionInterceptor interceptor)
public static void add(ExceptionInterceptor interceptor, int position)
public static void remove(ExceptionInterceptor interceptor)
public static void add(Extractor extractor)
public static void add(ExceptionReporter reporter)
public static void remove(ExceptionReporter reporter)
public static void add(PostProcess process)
public static void remove(PostProcess process)
public static void add(java.lang.String sectionName, java.io.File file)
public static void append(java.lang.String sectionName, java.lang.String contents)
public static void registerWithAWTThread()