com.ibm.websphere.ce.j2c

Class ConnectionWaitTimeoutException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended byjavax.resource.ResourceException
  5. extended byjavax.resource.spi.ResourceAllocationException
  6. extended bycom.ibm.websphere.ce.j2c.ConnectionWaitTimeoutException
All implemented interfaces:
java.io.Serializable

  1. public class ConnectionWaitTimeoutException
  2. 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

Constructor and Description
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

Method Summary

Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setErrorCode, 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

  1. public ConnectionWaitTimeoutException( java.lang.String reason)
Constructs a ResourceAllocationException with the specified reason.
Parameters:
reason - The reason for the timeout exception.

ConnectionWaitTimeoutException

  1. public ConnectionWaitTimeoutException( java.lang.String reason,
  2. java.lang.String errorCode)
Constructs a ResourceAllocationException with the specified reason and error code
Parameters:
reason - The reason for the timeout exception.
errorCode -