ppe
Class ExceptionHandler
java.lang.Object
ppe.ExceptionHandler
public class ExceptionHandler
- extends java.lang.Object
Primarily used for debugging.
Field Summary |
static boolean |
useGui
|
Method Summary |
static void |
display(java.lang.Throwable x)
|
static void |
gui(java.lang.Throwable x)
|
static java.lang.String |
stackTraceToString(java.lang.StackTraceElement[] trace)
|
static void |
text(java.lang.Throwable x)
|
static java.lang.RuntimeException |
toRuntimeException(java.lang.Throwable x)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
useGui
public static boolean useGui
ExceptionHandler
public ExceptionHandler()
display
public static void display(java.lang.Throwable x)
text
public static void text(java.lang.Throwable x)
gui
public static void gui(java.lang.Throwable x)
stackTraceToString
public static java.lang.String stackTraceToString(java.lang.StackTraceElement[] trace)
toRuntimeException
public static java.lang.RuntimeException toRuntimeException(java.lang.Throwable x)