| Access | Constructor and Description |
|---|---|
| public | |
| public | JmsException(String
the detail message msg, Throwable the cause of the exception. This argument is generally
expected to be a proper subclass of cause)jakarta.,
but can also be a JNDI NamingException or the like.Constructor that takes a message and a root cause. |
| public | JmsException(Throwable
the cause of the exception. This argument is generally
expected to be a proper subclass of cause)jakarta..Constructor that takes a plain root cause, intended for
subclasses mirroring corresponding |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: a string specifying the vendor-specific error code if the root cause is an instance of JMSException, ornullConvenience method to get the vendor specific error code if the root cause was an instance of JMSException. |
| public String | getMessage()
Overrides java. Return the detail message, including the message from the linked exception if there is one. |
| JmsException | back to summary |
|---|---|
| public JmsException(String msg) Constructor that takes a message.
| |
| JmsException | back to summary |
|---|---|
| public JmsException(String msg, Throwable cause) Constructor that takes a message and a root cause.
| |
| JmsException | back to summary |
|---|---|
| public JmsException(Throwable cause) Constructor that takes a plain root cause, intended for
subclasses mirroring corresponding
| |
| getErrorCode | back to summary |
|---|---|
| public String getErrorCode() Convenience method to get the vendor specific error code if the root cause was an instance of JMSException. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Return the detail message, including the message from the linked exception if there is one.
| |