org.jdom
Class DataConversionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.jdom.JDOMException
                    |
                    +--org.jdom.DataConversionException

public class DataConversionException
extends JDOMException

DataConversionException is thrown when a requested XML value is requested to be converted, and conversion fails.

Author:
Brett McLaughlin, Jason Hunter
Version: 1.0

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

Methods inherited from class org.jdom.JDOMException
getMessage, getRootCause, printStackTrace, printStackTrace, printStackTrace

Methods inherited from class java.lang.Throwable
getLocalizedMessage, toString, fillInStackTrace

Methods inherited from class java.lang.Object
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait

Constructor Detail

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.