java.lang.Objectjava.lang.Throwable
java.lang.Exception
JDOMException
DataConversionException
public class DataConversionException
Thrown when a data conversion from a string to value type fails, such as can happen with the Attribute
convenience getter functions.
Field Summary | |
---|---|
private static java.lang.String | CVS_ID |
Constructor Summary | |
---|---|
DataConversionException(java.lang.String name, java.lang.String dataType) Constructs an exception where the named construct couldn't be converted to the named data type. |
Method Summary |
---|
Methods inherited from class JDOMException |
---|
getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String CVS_ID
Constructor Detail |
---|
public DataConversionException(java.lang.String name, java.lang.String dataType)
name
- name of the construct whose value failed conversiondataType
- type the conversion was attempting to create