java.lang.Object | +--org.erights.e.develop.exception.ExceptionMgr
Untamed:
ExceptionMgr()
private static ExceptionNoticer OurNoticer
public ExceptionMgr()
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)