public class ResourceAllocationException extends JMSException
For example, this exception should be thrown when a call to TopicConnectionFactory.createTopicConnection
fails due to a lack of Jakarta Messaging provider resources.
Constructor and Description |
---|
ResourceAllocationException(java.lang.String reason)
Constructs a
ResourceAllocationException with the specified reason. |
ResourceAllocationException(java.lang.String reason,
java.lang.String errorCode)
Constructs a
ResourceAllocationException with the specified reason and error code. |
ResourceAllocationException(java.lang.String reason,
java.lang.String errorCode,
java.lang.Exception linkedException)
Constructs a
ResourceAllocationException with the specified reason, error code
and linked exception. |
getErrorCode, getLinkedException, setLinkedException
public ResourceAllocationException(java.lang.String reason, java.lang.String errorCode, java.lang.Exception linkedException)
ResourceAllocationException
with the specified reason, error code
and linked exception.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codelinkedException
- a linked exceptionpublic ResourceAllocationException(java.lang.String reason, java.lang.String errorCode)
ResourceAllocationException
with the specified reason and error code.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codepublic ResourceAllocationException(java.lang.String reason)
ResourceAllocationException
with the specified reason. The error code defaults to null.reason
- a description of the exceptionCopyright 2004-2024 Solace Corporation. All rights reserved.