ppe
Class ExceptionHandler

java.lang.Object
  extended by ppe.ExceptionHandler

public class ExceptionHandler
extends java.lang.Object

Primarily used for debugging.


Field Summary
static boolean useGui
           
 
Constructor Summary
ExceptionHandler()
           
 
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
 

Field Detail

useGui

public static boolean useGui
Constructor Detail

ExceptionHandler

public ExceptionHandler()
Method Detail

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)