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:
java.io.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(java.lang.String message)
MessageConversionException(java.lang.String message, java.lang.Throwable cause)
-