Top Description Constructors Methods
com.thoughtworks.xstream.converters

public Class ConversionException

extends ErrorWritingException
Class Inheritance
Known Direct Subclasses
com.thoughtworks.xstream.converters.javabean.JavaBeanConverter.DuplicateFieldException, com.thoughtworks.xstream.converters.javabean.JavaBeanConverter.DuplicatePropertyException, com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.DuplicateFieldException, com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.UnknownFieldException, com.thoughtworks.xstream.core.AbstractReferenceMarshaller.ReferencedImplicitElementException, com.thoughtworks.xstream.core.TreeMarshaller.CircularReferenceException

Deprecated

as a consequence of ErrorWritingException being deprecated. See corresponding docs for further information.

Thrown by Converter implementations when they cannot convert an object to/from textual data. When this exception is thrown it can be passed around to things that accept an ErrorWriter, allowing them to add diagnostics to the stack trace.
Authors
Joe Walnes, Jörg Schaible
See Also
ErrorWriter

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Inherited from com.thoughtworks.xstream.converters.ErrorWritingException:
addgetgetMessagegetShortMessagekeysset

Constructor Detail

ConversionExceptionback to summary
public ConversionException(String msg, Throwable cause)
ConversionExceptionback to summary
public ConversionException(String msg)
ConversionExceptionback to summary
public ConversionException(Throwable cause)