java.lang.Object | |||||
↳ | java.lang.Throwable | ||||
↳ | java.lang.Exception | ||||
↳ | java.lang.RuntimeException | ||||
↳ | org.springframework.core.NestedRuntimeException | ||||
↳ | org.springframework.jms.JmsException |
Base class for exception thrown by the framework whenever it encounters a problem related to JMS.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor that takes a message.
| |||||||||||
Constructor that takes a message and a root cause.
| |||||||||||
Constructor that takes a plain root cause, intended for
subclasses mirroring corresponding
javax.jms exceptions. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience method to get the vendor specific error code if
the root cause was an instance of JMSException.
| |||||||||||
Return the detail message, including the message from the linked exception
if there is one.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructor that takes a message.
msg | the detail message |
---|
Constructor that takes a message and a root cause.
msg | the detail message |
---|---|
cause | the cause of the exception. This argument is generally expected to be a proper subclass of javax.jms.JMSException, but can also be a JNDI NamingException or the like. |
Constructor that takes a plain root cause, intended for
subclasses mirroring corresponding javax.jms
exceptions.
cause | the cause of the exception. This argument is generally expected to be a proper subclass of javax.jms.JMSException. |
---|
Convenience method to get the vendor specific error code if the root cause was an instance of JMSException.
null
Return the detail message, including the message from the linked exception if there is one.