|
Griffon 1.2.0 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgriffon.util.GriffonExceptionHandler
public class GriffonExceptionHandler
Catches and sanitizes all uncaught exceptions.
| Field Summary | |
|---|---|
private static String[] |
CONFIG_OPTIONS
|
static String |
GRIFFON_EXCEPTION_OUTPUT
"griffon.exception.output" |
static String |
GRIFFON_FULL_STACKTRACE
"griffon.full.stacktrace" |
private static Logger |
LOG
|
| Constructor Summary | |
GriffonExceptionHandler()
|
|
| Method Summary | |
|---|---|
static void
|
configure(Map config)
|
void
|
handle(Throwable throwable)
|
static void
|
handleThrowable(Throwable t)
|
static boolean
|
isOutputEnabled()
|
static void
|
registerExceptionHandler()
|
static Throwable
|
sanitize(Throwable throwable)
|
static StackTraceElement[]
|
sanitize(StackTraceElement[] stackTrace)
|
void
|
uncaughtException(Thread t, Throwable e)
|
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Field Detail |
|---|
private static final String[] CONFIG_OPTIONS
public static final String GRIFFON_EXCEPTION_OUTPUT
public static final String GRIFFON_FULL_STACKTRACE
private static final Logger LOG
| Constructor Detail |
|---|
GriffonExceptionHandler()
| Method Detail |
|---|
public static void configure(Map config)
public void handle(Throwable throwable)
public static void handleThrowable(Throwable t)
public static boolean isOutputEnabled()
public static void registerExceptionHandler()
public static Throwable sanitize(Throwable throwable)
public static StackTraceElement[] sanitize(StackTraceElement[] stackTrace)
public void uncaughtException(Thread t, Throwable e)
Groovy Documentation