Package org.springframework.jms
Class UncategorizedJmsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.jms.JmsException
org.springframework.jms.UncategorizedJmsException
- All Implemented Interfaces:
Serializable
JmsException to be thrown when no other matching subclass found.
- Since:
- 1.1
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor that takes a message.UncategorizedJmsException
(String msg, Throwable cause) Constructor that takes a message and a root cause.Constructor that takes a root cause only. -
Method Summary
Methods inherited from class org.springframework.jms.JmsException
getErrorCode, getMessage
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncategorizedJmsException
Constructor that takes a message.- Parameters:
msg
- the detail message
-
UncategorizedJmsException
Constructor that takes a message and a root cause.- Parameters:
msg
- the detail messagecause
- the cause of the exception. This argument is generally expected to be a proper subclass ofJMSException
, but can also be a JNDI NamingException or the like.
-
UncategorizedJmsException
Constructor that takes a root cause only.- Parameters:
cause
- the cause of the exception. This argument is generally expected to be a proper subclass ofJMSException
, but can also be a JNDI NamingException or the like.
-