Top Description Fields Constructors
org.jdom2

public Class DataConversionException

extends JDOMException
Class Inheritance

Thrown when a data conversion from a string to value type fails, such as can happen with the Attribute convenience getter functions.
Authors
Brett McLaughlin, Jason Hunter

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides org.jdom2.JDOMException.serialVersionUID.

Standard JDOM2 Exception Serialization.

Constructor Summary

AccessConstructor and Description
public
DataConversionException(String
name of the construct whose value failed conversion
name
,
String
type the conversion was attempting to create
dataType
)

Constructs an exception where the named construct couldn't be converted to the named data type.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.jdom2.JDOMException.serialVersionUID.

Standard JDOM2 Exception Serialization. Default.

Constructor Detail

DataConversionExceptionback to summary
public DataConversionException(String name, String dataType)

Constructs an exception where the named construct couldn't be converted to the named data type.

Parameters
name:String

name of the construct whose value failed conversion

dataType:String

type the conversion was attempting to create