SwallowedExceptionListenerpublic class SwallowedExceptionLogger extends java.lang.Object implements SwallowedExceptionListener
| Constructor | Description |
|---|---|
SwallowedExceptionLogger(Log log) |
Create a SwallowedExceptionLogger with the given logger.
|
SwallowedExceptionLogger(Log log,
boolean logExpiredConnections) |
Create a SwallowedExceptionLogger with the given logger and expired connection logging property.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
onSwallowException(java.lang.Exception e) |
This method is called every time the implementation unavoidably swallows
an exception.
|
public SwallowedExceptionLogger(Log log)
log - loggerpublic SwallowedExceptionLogger(Log log, boolean logExpiredConnections)
log - loggerlogExpiredConnections - false suppresses logging of expired connection eventspublic void onSwallowException(java.lang.Exception e)
SwallowedExceptionListeneronSwallowException in interface SwallowedExceptionListenere - The exception that was swallowedCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.