FileDocCategorySizeDatePackage
ResourceAllocationException.javaAPI DocGlassfish v2 API3815Fri May 04 22:35:36 BST 2007javax.resource.spi

ResourceAllocationException

public class ResourceAllocationException extends javax.resource.ResourceException
A ResourceAllocationException can be thrown by an application server or resource adapter to indicate any failure to allocate system resources (example: threads, physical connections). An example is error condition when an upper bound is reached on the maximum number of physical connections that can be managed by an application server specific connection pool.
version
1.0
author
Rahul Sharma
author
Ram Jeyaraman

Fields Summary
Constructors Summary
public ResourceAllocationException()
Constructs a new instance with null as its detail message.

 super(); 
public ResourceAllocationException(String message)
Constructs a new instance with the specified detail message.

param
message the detail message.

	super(message);
    
public ResourceAllocationException(Throwable cause)
Constructs a new throwable with the specified cause.

param
cause a chained exception of type Throwable.

	super(cause);
    
public ResourceAllocationException(String message, Throwable cause)
Constructs a new throwable with the specified detail message and cause.

param
message the detail message.
param
cause a chained exception of type Throwable.

	super(message, cause);
    
public ResourceAllocationException(String message, String errorCode)
Constructs a new throwable with the specified detail message and an error code.

param
message a description of the exception.
param
errorCode a string specifying the vendor specific error code.

	super(message, errorCode);
    
Methods Summary