public class SwallowedExceptionLogger
extends java.lang.Object
implements org.apache.commons.pool2.SwallowedExceptionListener
Constructor and 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 and 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 July 8 2017.