|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogExceptionHandler
A LogExceptionHandler is used to control the behavior of a Logger in regards to occuring LogException events.
LogException,
Logger.setExceptionHandler(LogExceptionHandler)| Field Summary | |
|---|---|
static LogExceptionHandler |
EXCEPTION_IGNORER
used to simply ignore exceptions thrown by a logger. |
| Method Summary | |
|---|---|
void |
handleLogException(Logger logger,
LogException ex,
LogWriter writer)
is called when a logger encounters a LogException while the handler logs an entry. |
| Field Detail |
|---|
static final LogExceptionHandler EXCEPTION_IGNORER
Logger.ignoreLogExceptions()| Method Detail |
|---|
void handleLogException(Logger logger,
LogException ex,
LogWriter writer)
throws LogException
LogException - to propagate the exception to the caller of the logging that caused
the given exceptionLogger.setExceptionHandler(LogExceptionHandler)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||