org.apache.commons.pool2.SwallowedExceptionListener
public class SwallowedExceptionLogger
extends java.lang.Object
implements org.apache.commons.pool2.SwallowedExceptionListener
Constructor | Description |
---|---|
SwallowedExceptionLogger(org.apache.commons.logging.Log log) |
Create a SwallowedExceptionLogger with the given logger.
|
SwallowedExceptionLogger(org.apache.commons.logging.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) |
public SwallowedExceptionLogger(org.apache.commons.logging.Log log)
log
- loggerpublic SwallowedExceptionLogger(org.apache.commons.logging.Log log, boolean logExpiredConnections)
log
- loggerlogExpiredConnections
- false suppresses logging of expired connection eventsCopyright © 2001-2015 Apache Software Foundation. Documenation generated October 31 2016.