org.jdom

Class DataConversionException


public class DataConversionException
extends JDOMException

DataConversionException is thrown when a requested XML value is requested to be converted, and conversion fails.
Version:
$Revision: 1.7 $, $Date: 2002/01/08 09:17:10 $
Authors:
Brett McLaughlin
Jason Hunter

Field Summary

Fields inherited from class org.jdom.JDOMException

cause

Constructor Summary

DataConversionException(String name, String dataType)
This will create an Exception indicating that the specified attribute does not exist for the current element.

Method Summary

Methods inherited from class org.jdom.JDOMException

getCause, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace

Constructor Details

DataConversionException

public DataConversionException(String name,
                               String dataType)
This will create an Exception indicating that the specified attribute does not exist for the current element.
Parameters:
name - String name of XML attribute being searched for.
dataType - String name of data type being converted to.

Copyright B) 2002 Jason Hunter, Brett McLaughlin. All Rights Reserved.