FileDocCategorySizeDatePackage
ResourceAllocationException.javaAPI DocGlassfish v2 API3105Fri May 04 22:36:16 BST 2007javax.jms

ResourceAllocationException

public class ResourceAllocationException extends JMSException

This exception is thrown when a provider is unable to allocate the resources required by a method. For example, this exception should be thrown when a call to TopicConnectionFactory.createTopicConnection fails due to a lack of JMS provider resources.

version
26 August 1998
author
Rahul Sharma

Fields Summary
Constructors Summary
public ResourceAllocationException(String reason, String errorCode)
Constructs a ResourceAllocationException with the specified reason and error code.

param
reason a description of the exception
param
errorCode a string specifying the vendor-specific error code

    super(reason, errorCode);
  
public ResourceAllocationException(String reason)
Constructs a ResourceAllocationException with the specified reason. The error code defaults to null.

param
reason a description of the exception

    super(reason);
  
Methods Summary