org.geotools.data.arcsde
Class UnavailableConnectionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.geotools.data.arcsde.UnavailableConnectionException
All Implemented Interfaces:
java.io.Serializable

public class UnavailableConnectionException
extends java.lang.Exception

Exception thrown when a free SDE connection can't be obtained after the calling thread was waiting an available connection for SdeConnectionPool instance's getMaxWaitTime() milliseconds

Version:
$Id: UnavailableConnectionException.java 17707 2006-01-23 03:45:14Z desruisseaux $
Author:
Gabriel Rold?n, Gabriel Rold?n
See Also:
Serialized Form
Task:
REVISIT: sure there are a better exception to use in somewhere... just take a look since it seems not very wise to have it here... may be in current jdbc package.

Constructor Summary
UnavailableConnectionException(int usedConnections, ConnectionConfig config)
          Creates a new UnavailableConnectionException object.
 
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

UnavailableConnectionException

public UnavailableConnectionException(int usedConnections,
                                      ConnectionConfig config)
Creates a new UnavailableConnectionException object.

Parameters:
usedConnections - DOCUMENT ME!
config - DOCUMENT ME!


Copyright © GeoTools. All Rights Reserved.