/*
 * Copyright 2002-2005 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.springframework.jms.support.converter;

import org.springframework.jms.JmsException;

/**
 * Thrown by MessageConverter when it can not convert an object to/from a JMS message.
 *
 * @author Mark Pollack
 * @since 1.1
 * @see MessageConverter
 */
public class MessageConversionException extends JmsException {

	public MessageConversionException(String msg) {
		super(msg);
	}

	public MessageConversionException(String msg, Throwable ex) {
		super(msg, ex);
	}

}

@@ -21,9 +21,9 @@
 -200
-5
+6
  the
@@ -730,16 +730,23 @@
 rown by 
+%7B@link 
 MessageC
@@ -757,64 +757,103 @@
 rter
- when it can not convert an object to/from a JMS message
+%7D implementations when the conversion%0A * of an object to/from a %7B@link javax.jms.Message%7D fails
 .%0A *
@@ -881,22 +881,8 @@
 ack%0A
- * @since 1.1%0A
  * @
@@ -902,16 +902,30 @@
 nverter%0A
+ * @since 1.1%0A
  */%0Apubl
@@ -984,17 +984,161 @@
 tion %7B%0A%0A
-%09
+    /**%0A     * Creates a new instance of the %7B@link MessageConversionException%7D class.%0A     * @param msg the detail message (if any)%0A     */%0A    
 public M
@@ -1173,26 +1173,32 @@
 ring msg) %7B%0A
-%09%09
+        
 super(msg);%0A
@@ -1201,13 +1201,202 @@
 g);%0A
-%09%7D%0A%0A%09
+    %7D%0A%0A    /**%0A     * Creates a new instance of the %7B@link MessageConversionException%7D class.%0A     * @param msg the detail message (if any)%0A     * @param ex  the root cause (if any)%0A     */%0A    
 publ
@@ -1457,10 +1457,16 @@
 ) %7B%0A
-%09%09
+        
 supe
@@ -1481,9 +1481,12 @@
 x);%0A
-%09
+    
 %7D%0A%0A%7D

Javadocc'ed.