This unchecked 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
ConnectionFactory.createContext fails due to a
lack of JMS provider resources.
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Explicitly set serialVersionUID to be the same as the implicit serialVersionUID of the JMS 2.0 version
|
| Access | Constructor and Description |
|---|---|
| public | ResourceAllocationRuntimeException(String
a description of the exception reason, String a string specifying the vendor-specific
error code errorCode)Constructs a |
| public | ResourceAllocationRuntimeException(String
a description of the exception reason)Constructs a |
| public | ResourceAllocationRuntimeException(String
a description of the exception detailMessage, String a provider-specific error code errorCode, Throwable the underlying cause of this exception cause)Constructs a |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Explicitly set serialVersionUID to be the same as the implicit serialVersionUID of the JMS 2.0 version | |
| ResourceAllocationRuntimeException | back to summary |
|---|---|
| public ResourceAllocationRuntimeException(String reason, String errorCode) Constructs a | |
| ResourceAllocationRuntimeException | back to summary |
|---|---|
| public ResourceAllocationRuntimeException(String reason) Constructs a
| |
| ResourceAllocationRuntimeException | back to summary |
|---|---|
| public ResourceAllocationRuntimeException(String detailMessage, String errorCode, Throwable cause) Constructs a | |