Top Description Fields Constructors Methods
org.jdom

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
Version
$Revision: 1.14 $, $Date: 2007/11/10 05:28:58 $

Field Summary

Modifier and TypeField and Description
private static final String

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.

Method Summary

Inherited from org.jdom.JDOMException:
getCausegetMessageinitCauseprintStackTraceprintStackTraceprintStackTrace

Field Detail

CVS_IDback to summary
private static final String CVS_ID

Hides org.jdom.JDOMException.CVS_ID.

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