|
Griffon 0.9.5-rc2 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgriffon.util.GriffonExceptionHandler
public class GriffonExceptionHandler extends Object
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 org.slf4j.Logger |
LOG
|
Constructor Summary | |
GriffonExceptionHandler()
|
Method Summary | |
---|---|
static void
|
configure(Map config)
|
void
|
handle(Throwable throwable)
|
static boolean
|
isOutputEnabled()
|
static void
|
registerExceptionHandler()
|
static Throwable
|
sanitize(Throwable throwable)
|
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 org.slf4j.Logger LOG
Constructor Detail |
---|
GriffonExceptionHandler()
Method Detail |
---|
public static void configure(Map config)
public void handle(Throwable throwable)
public static boolean isOutputEnabled()
public static void registerExceptionHandler()
public static Throwable sanitize(Throwable throwable)
public void uncaughtException(Thread t, Throwable e)
Groovy Documentation