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
,Serializable
- Direct Known Subclasses:
AbstractReferenceMarshaller.ReferencedImplicitElementException
,AbstractReflectionConverter.DuplicateFieldException
,AbstractReflectionConverter.UnknownFieldException
,JavaBeanConverter.DuplicateFieldException
,JavaBeanConverter.DuplicatePropertyException
,TreeMarshaller.CircularReferenceException
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.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConversionException
(String msg, Throwable cause) ConversionException
(Throwable cause) -
Method Summary
Methods inherited from class com.thoughtworks.xstream.converters.ErrorWritingException
add, get, getMessage, getShortMessage, keys, set
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConversionException
-
ConversionException
-
ConversionException
-