In additional to the detailMessage and cause fields inherited from
Throwable, this class also allows a provider-specific errorCode
to be set.
| Modifier and Type | Field and Description |
|---|---|
| private String | errorCode
Provider-specific error code. |
| private static final long | serialVersionUID
Explicitly set serialVersionUID to be the same as the implicit serialVersionUID of the JMS 1.1 version
|
| Access | Constructor and Description |
|---|---|
| public | JMSRuntimeException(String
a description of the exception detailMessage, String a provider-specific error code errorCode)Constructs a |
| public | JMSRuntimeException(String
a description of the exception detailMessage)Constructs a |
| public | JMSRuntimeException(String
a description of the exception detailMessage, String a provider-specific error code errorCode, Throwable the underlying cause of this exception cause)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| errorCode | back to summary |
|---|---|
| private String errorCode Provider-specific error code. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Explicitly set serialVersionUID to be the same as the implicit serialVersionUID of the JMS 1.1 version | |
| JMSRuntimeException | back to summary |
|---|---|
| public JMSRuntimeException(String detailMessage, String errorCode) Constructs a | |
| JMSRuntimeException | back to summary |
|---|---|
| public JMSRuntimeException(String detailMessage) Constructs a
| |
| JMSRuntimeException | back to summary |
|---|---|
| public JMSRuntimeException(String detailMessage, String errorCode, Throwable cause) Constructs a | |
| getErrorCode | back to summary |
|---|---|
| public String getErrorCode() Returns the vendor-specific error code.
| |