Class MessageConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.amqp.AmqpException
-
- org.springframework.amqp.support.converter.MessageConversionException
-
- All Implemented Interfaces:
Serializable
public class MessageConversionException extends AmqpException
Exception to be thrown by message converters if they encounter a problem with converting a message or object.
N.B. this is not an
AmqpException
because it is a a client exception, not a protocol or broker problem.- Author:
- Mark Fisher, Dave Syer, Gary Russell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageConversionException(String message)
MessageConversionException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-