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
Constructors 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, getMessage, setErrorCode, setLinkedException
-
-
-
-
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
-
-
-