Class ConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.thoughtworks.xstream.core.BaseException
-
- com.thoughtworks.xstream.XStreamException
-
- com.thoughtworks.xstream.converters.ErrorWritingException
-
- com.thoughtworks.xstream.converters.ConversionException
-
- All Implemented Interfaces:
ErrorWriter,java.io.Serializable
- Direct Known Subclasses:
AbstractReferenceMarshaller.ReferencedImplicitElementException,AbstractReflectionConverter.DuplicateFieldException,AbstractReflectionConverter.UnknownFieldException,JavaBeanConverter.DuplicateFieldException,JavaBeanConverter.DuplicatePropertyException,TreeMarshaller.CircularReferenceException
public class ConversionException extends ErrorWritingException
Thrown byConverterimplementations when they cannot convert an object to/from textual data. When this exception is thrown it can be passed around to things that accept anErrorWriter, allowing them to add diagnostics to the stack trace.- See Also:
ErrorWriter, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConversionException(java.lang.String msg)ConversionException(java.lang.String msg, java.lang.Throwable cause)ConversionException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class com.thoughtworks.xstream.converters.ErrorWritingException
add, get, getMessage, getShortMessage, keys, set
-
-