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.
public ResourceAllocationException(String reason, String errorCode)(Code)
Constructs a ResourceAllocationException with the specified
reason and error code.
Parameters: reason - a description of the exception Parameters: errorCode - a string specifying the vendor-specificerror code
ResourceAllocationException
public ResourceAllocationException(String reason)(Code)
Constructs a ResourceAllocationException with the specified
reason. The error code defaults to null.
Parameters: reason - a description of the exception