org.jminor.common.db.pool
Class ConnectionPoolException.NoConnectionAvailable

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by org.jminor.common.db.pool.ConnectionPoolException
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jminor.common.db.pool.ConnectionPoolException
ConnectionPoolException.NoConnectionAvailable
 
Constructor Summary
ConnectionPoolException.NoConnectionAvailable(int retries, long checkoutTime)
          Instantates a new NoConnectionAvailable exception
 
Method Summary
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, iterator, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionPoolException.NoConnectionAvailable

public ConnectionPoolException.NoConnectionAvailable(int retries,
                                                     long checkoutTime)
Instantates a new NoConnectionAvailable exception

Parameters:
retries - the number retries trying to check out a connection
checkoutTime - the time used trying to check out a connection