|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.erights.e.develop.exception.ExceptionMgr
Untamed:
Field Summary | |
private static ExceptionNoticer |
OurNoticer
|
Constructor Summary | |
ExceptionMgr()
Enabled: |
Method Summary | |
static RuntimeException |
asSafe(Throwable th)
Enabled: Returns 'th' as a RuntimeException. |
static void |
printStackTrace(Throwable t,
PrintWriter out)
Enabled: |
static void |
reportException(Throwable t)
Enabled: |
static void |
reportException(Throwable t,
String msg)
Enabled: |
static void |
setExceptionNoticer(ExceptionNoticer noticer)
Enabled: |
static void |
uncaughtException(Thread t,
Throwable e)
Enabled: |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ExceptionNoticer OurNoticer
Constructor Detail |
public ExceptionMgr()
Method Detail |
public static RuntimeException asSafe(Throwable th)
Wraps 'th' if necessary so that the caller can do a
throw ExceptionMgr.asSafe(th);without having to declare any new "throws" cases. The caller does the "throw" rather than this construct so that the Java compiler will have better control flow information.
Equivalent to 'ThrowableSugar.backtrace(th, "");'
public static void printStackTrace(Throwable t, PrintWriter out)
public static void reportException(Throwable t)
public static void reportException(Throwable t, String msg)
public static void setExceptionNoticer(ExceptionNoticer noticer)
public static void uncaughtException(Thread t, Throwable e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |