public class GriffonExceptionHandler extends Object implements ExceptionHandler
GRIFFON_EXCEPTION_OUTPUT, GRIFFON_FULL_STACKTRACE| Constructor and Description | 
|---|
| GriffonExceptionHandler() | 
| GriffonExceptionHandler(GriffonApplication application) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | addClassTest(CallableWithArgs<Boolean> test) | 
| static void | configure(Map<String,Object> config) | 
| static Throwable | deepSanitize(Throwable t)Sanitize the exception and ALL nested causes
 
 This will MODIFY the stacktrace of the exception instance and all its causes irreversibly | 
| protected GriffonApplication | getApplication() | 
| void | handle(Throwable throwable) | 
| static void | handleThrowable(Throwable t) | 
| static boolean | isFullStacktraceEnabled() | 
| static boolean | isOutputEnabled() | 
| static void | registerExceptionHandler() | 
| static StackTraceElement[] | sanitize(StackTraceElement[] stackTrace) | 
| static Throwable | sanitize(Throwable throwable) | 
| void | uncaughtException(Thread t,
                 Throwable e) | 
public GriffonExceptionHandler()
public GriffonExceptionHandler(GriffonApplication application)
public static void addClassTest(CallableWithArgs<Boolean> test)
@Nullable protected GriffonApplication getApplication()
public void uncaughtException(Thread t, Throwable e)
uncaughtException in interface ExceptionHandleruncaughtException in interface Thread.UncaughtExceptionHandlerpublic void handle(Throwable throwable)
handle in interface ExceptionHandlerpublic static StackTraceElement[] sanitize(StackTraceElement[] stackTrace)
public static boolean isOutputEnabled()
public static void registerExceptionHandler()
public static void handleThrowable(Throwable t)
public static Throwable deepSanitize(Throwable t)
t - a throwablepublic static boolean isFullStacktraceEnabled()