org.jminor.common.db.pool
Class ConnectionPoolException.NoConnectionAvailable
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.sql.SQLException
org.jminor.common.db.pool.ConnectionPoolException
org.jminor.common.db.pool.ConnectionPoolException.NoConnectionAvailable
- All Implemented Interfaces:
- Serializable, Iterable<Throwable>
- Enclosing class:
- ConnectionPoolException
public static final class ConnectionPoolException.NoConnectionAvailable
- extends ConnectionPoolException
An exception indicating that no connection is available in the connection pool
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConnectionPoolException.NoConnectionAvailable
public ConnectionPoolException.NoConnectionAvailable(int retries,
long checkoutTime)
- Instantates a new NoConnectionAvailable exception
- Parameters:
retries
- the number retries trying to check out a connectioncheckoutTime
- the time used trying to check out a connection