org.apache.commons.dbcp2

## Class SwallowedExceptionLogger

- java.lang.Object
- - org.apache.commons.dbcp2.SwallowedExceptionLogger

- All Implemented Interfaces:
    org.apache.commons.pool2.SwallowedExceptionListener

      public class SwallowedExceptionLogger
      extends Object
      implements org.apache.commons.pool2.SwallowedExceptionListener

  Class for logging swallowed exceptions
  Since:
    2.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SwallowedExceptionLogger(org.apache.commons.logging.Log log)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onSwallowException(Exception e)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SwallowedExceptionLogger

          public SwallowedExceptionLogger(org.apache.commons.logging.Log log)

  - ### Method Detail

    - #### onSwallowException

          public void onSwallowException(Exception e)

      Specified by:
        `onSwallowException` in interface `org.apache.commons.pool2.SwallowedExceptionListener`

Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.