Class MessageConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.jms.JmsException
org.springframework.jms.support.converter.MessageConversionException
- All Implemented Interfaces:
Serializable
Thrown by
MessageConverter
implementations when the conversion
of an object to/from a Message
fails.- Since:
- 1.1
- Author:
- Mark Pollack
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a new MessageConversionException.MessageConversionException
(String msg, @Nullable Throwable cause) Create a new MessageConversionException. -
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
-
MessageConversionException
Create a new MessageConversionException.- Parameters:
msg
- the detail message
-
MessageConversionException
Create a new MessageConversionException.- Parameters:
msg
- the detail messagecause
- the root cause (if any)
-