    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class org.jdom.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.

Version:
  $Revision: 1.7 $, $Date: 2002/01/08 09:17:10 $
Author:
  Brett McLaughlin, Jason Hunter

##

DataConversionException(String, String)

  This will create an `Exception` indicating that the specified attribute does not exist for the current element.

##

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.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index