public static class PluginDebugOpts.ExceptionHandler extends Handler
Constructor and Description |
---|
ExceptionHandler(Plugin plugin)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
apply(Plugin p)
|
void |
close()
Does nothing
|
void |
flush()
Does nothing
|
void |
publish(LogRecord record)
If
LogRecord.getThrown() does not return null , then this will call
com.codelanx.commons.logging.Debugger.DebugUtil#report(DebugOpts, Throwable, String)
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public ExceptionHandler(Plugin plugin)
Handler
to Level.SEVERE
public void publish(LogRecord record)
LogRecord.getThrown()
does not return null
, then this will call
com.codelanx.commons.logging.Debugger.DebugUtil#report(DebugOpts, Throwable, String)
public void close() throws SecurityException
close
in class Handler
SecurityException
- Never happensCopyright © 2017. All rights reserved.