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(String reason)
Constructs a
ResourceAllocationRuntimeException with the specified reason. |
ResourceAllocationRuntimeException(String reason,
String errorCode)
Constructs a
ResourceAllocationRuntimeException with the specified reason and error code. |
ResourceAllocationRuntimeException(String detailMessage,
String errorCode,
Throwable cause)
Constructs a
ResourceAllocationRuntimeException with the specified detail message, error code and cause |
getErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ResourceAllocationRuntimeException(String reason, 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(String reason)
ResourceAllocationRuntimeException with the specified reason. The error code defaults to null.reason - a description of the exceptionpublic ResourceAllocationRuntimeException(String detailMessage, String errorCode, 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 © 2018,2020 Eclipse Foundation.
Use is subject to license terms.