站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

MessageConversionException (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.jms.support.converter
Class MessageConversionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.jms.JmsException
                      extended by org.springframework.jms.support.converter.MessageConversionException
All Implemented Interfaces:
Serializable

public class MessageConversionException
extends JmsException

Thrown by MessageConverter implementations when the conversion of an object to/from a Message fails.

Since:
1.1
Author:
Mark Pollack
See Also:
MessageConverter, Serialized Form

Constructor Summary
MessageConversionException(String msg)
          Create a new MessageConversionException.
MessageConversionException(String msg, 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, getCause, getMostSpecificCause, getRootCause, 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

MessageConversionException

public MessageConversionException(String msg)
Create a new MessageConversionException.

Parameters:
msg - the detail message

MessageConversionException

public MessageConversionException(String msg,
                                  Throwable cause)
Create a new MessageConversionException.

Parameters:
msg - the detail message
cause - the root cause (if any)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.