public class ResourceAllocationRuntimeException extends JMSRuntimeException
For example, this exception should be thrown when a call to ConnectionFactory.createContext
fails due to a
lack of Jakarta Messaging provider resources.
Constructor and Description |
---|
ResourceAllocationRuntimeException(java.lang.String reason)
Constructs a
ResourceAllocationRuntimeException with the specified reason. |
ResourceAllocationRuntimeException(java.lang.String reason,
java.lang.String errorCode)
Constructs a
ResourceAllocationRuntimeException with the specified reason and error code. |
ResourceAllocationRuntimeException(java.lang.String detailMessage,
java.lang.String errorCode,
java.lang.Throwable cause)
Constructs a
ResourceAllocationRuntimeException with the specified detail message, error code and cause |
getErrorCode
public ResourceAllocationRuntimeException(java.lang.String reason, java.lang.String errorCode)
ResourceAllocationRuntimeException
with the specified reason and error code.reason
- a description of the exceptionerrorCode
- a string specifying the vendor-specific error codepublic ResourceAllocationRuntimeException(java.lang.String reason)
ResourceAllocationRuntimeException
with the specified reason. The error code defaults to null.reason
- a description of the exceptionpublic ResourceAllocationRuntimeException(java.lang.String detailMessage, java.lang.String errorCode, java.lang.Throwable cause)
ResourceAllocationRuntimeException
with the specified detail message, error code and causedetailMessage
- a description of the exceptionerrorCode
- a provider-specific error codecause
- the underlying cause of this exceptionCopyright 2004-2024 Solace Corporation. All rights reserved.