javax.resource.spi
Class ResourceAllocationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException (src) 
              extended byjavax.resource.spi.ResourceAllocationException
All Implemented Interfaces:
java.io.Serializable

public class ResourceAllocationException
extends ResourceException (src)

A ResourceAllocationException can be thrown to indicate a failure to allocate system resources such as threads or physical connections.

See Also:
Serialized Form

Constructor Summary
ResourceAllocationException()
          Create an exception.
ResourceAllocationException(java.lang.String reason)
          Create an exception with a reason.
ResourceAllocationException(java.lang.String reason, java.lang.String errorCode)
          Create an exception with a reason and an errorCode.
ResourceAllocationException(java.lang.String reason, java.lang.Throwable cause)
          Create an exception with a reason and cause.
ResourceAllocationException(java.lang.Throwable cause)
          Create an exception with a cause.
 
Methods inherited from class javax.resource.ResourceException (src)
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

ResourceAllocationException

public ResourceAllocationException()
Create an exception.


ResourceAllocationException

public ResourceAllocationException(java.lang.String reason)
Create an exception with a reason.


ResourceAllocationException

public ResourceAllocationException(java.lang.String reason,
                                   java.lang.String errorCode)
Create an exception with a reason and an errorCode.


ResourceAllocationException

public ResourceAllocationException(java.lang.String reason,
                                   java.lang.Throwable cause)
Create an exception with a reason and cause.

Parameters:
reason - the reason
cause - the cause

ResourceAllocationException

public ResourceAllocationException(java.lang.Throwable cause)
Create an exception with a cause.

Parameters:
cause - the cause