|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.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.
| Field Summary |
| Fields inherited from class java.lang.RuntimeException |
|
| Constructor Summary | |
|
JmsException(java.lang.String msg)
Constructor that takes a message. |
|
JmsException(java.lang.String msg,
java.lang.Throwable cause)
Constructor that allows a message and a root cause. |
protected |
JmsException(java.lang.Throwable cause)
Constructor that allows a plain root cause, intended for subclasses mirroring respective javax.jms exceptions. |
| Method Summary | |
java.lang.String |
getErrorCode()
Convenience method to get the vendor specific error code if the root cause was an instance of JMSException. |
java.lang.String |
getMessage()
Return the detail message, including the message from the linked exception if there is one. |
| Methods inherited from class org.springframework.core.NestedRuntimeException |
getCause, printStackTrace, printStackTrace |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JmsException(java.lang.String msg)
msg - the detail message
public JmsException(java.lang.String msg,
java.lang.Throwable cause)
msg - the detail messagecause - the cause of the exception. This argument is generally
expected to be a proper subclass of JMSException,
but can also be a JNDI NamingException or the like.protected JmsException(java.lang.Throwable cause)
cause - the cause of the exception. This argument is generally
expected to be a proper subclass of JMSException.| Method Detail |
public java.lang.String getErrorCode()
public java.lang.String getMessage()
getMessage in class NestedRuntimeExceptionJMSException.getLinkedException()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||