com.thoughtworks.xstream.converters
Class ConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.thoughtworks.xstream.converters.ConversionException
- All Implemented Interfaces:
- ErrorWriter, java.io.Serializable
- public class ConversionException
- extends java.lang.RuntimeException
- implements ErrorWriter
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Exception |
cause
Plays nice with JDK1.3 and JDK1.4 |
Method Summary |
void |
add(java.lang.String name,
java.lang.String information)
|
java.lang.String |
get(java.lang.String errorKey)
|
java.lang.Throwable |
getCause()
|
java.lang.String |
getMessage()
|
java.util.Iterator |
keys()
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cause
protected java.lang.Exception cause
- Plays nice with JDK1.3 and JDK1.4
ConversionException
public ConversionException(java.lang.String msg,
java.lang.Exception cause)
ConversionException
public ConversionException(java.lang.String msg)
ConversionException
public ConversionException(java.lang.Exception cause)
get
public java.lang.String get(java.lang.String errorKey)
add
public void add(java.lang.String name,
java.lang.String information)
- Specified by:
add
in interface ErrorWriter
keys
public java.util.Iterator keys()
getMessage
public java.lang.String getMessage()
getCause
public java.lang.Throwable getCause()
Joe Walnes, http://xstream.codehaus.org/