com.ibm.websphere.ce.j2c
Class ConnectionWaitTimeoutException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.resource.ResourceException
                    |
                    +--javax.resource.spi.ResourceAllocationException
                          |
                          +--com.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 -


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.