Class LifetimeExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.apache.commons.dbcp2.LifetimeExceededException
All Implemented Interfaces:
Serializable, Iterable<Throwable>

final class LifetimeExceededException extends SQLException
Exception thrown when a connection's maximum lifetime has been exceeded.
Since:
2.1
  • Field Details

  • Constructor Details

    • LifetimeExceededException

      public LifetimeExceededException()
      Constructs a new instance.
    • LifetimeExceededException

      public LifetimeExceededException(String reason)
      Constructs a new instance with the given message.
      Parameters:
      reason - a description of the exception