com.ibm.websphere.ce.j2c
Class ConnectionWaitTimeoutException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException
              extended byjavax.resource.spi.ResourceAllocationException
                  extended bycom.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException
All Implemented Interfaces:
java.io.Serializable

public class ConnectionWaitTimeoutException
extends javax.resource.spi.ResourceAllocationException

Indicates that a connection request has waited for ConnectionWaitTimeout but a connection did become free, and MaxConnections has been reached.

See Also:
Serialized Form

Constructor Summary
ConnectionWaitTimeoutException(java.lang.String reason)
          Constructs a ResourceAllocationException with the specified reason.
ConnectionWaitTimeoutException(java.lang.String reason, java.lang.String errorCode)
          Constructs a ResourceAllocationException with the specified reason and error code
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setLinkedException
 
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

ConnectionWaitTimeoutException

public ConnectionWaitTimeoutException(java.lang.String reason)
Constructs a ResourceAllocationException with the specified reason.

Parameters:
reason - The reason for the timeout exception.

ConnectionWaitTimeoutException

public ConnectionWaitTimeoutException(java.lang.String reason,
                                      java.lang.String errorCode)
Constructs a ResourceAllocationException with the specified reason and error code

Parameters:
reason - The reason for the timeout exception.
errorCode -