Package org.jdom

Class DataConversionException

All Implemented Interfaces:
Serializable

public class DataConversionException extends JDOMException
Thrown when a data conversion from a string to value type fails, such as can happen with the Attribute convenience getter functions.
Version:
$Revision: 1.14 $, $Date: 2007/11/10 05:28:58 $
Author:
Brett McLaughlin, Jason Hunter
See Also:
  • Constructor Details

    • DataConversionException

      public DataConversionException(String name, String dataType)
      Constructs an exception where the named construct couldn't be converted to the named data type.
      Parameters:
      name - name of the construct whose value failed conversion
      dataType - type the conversion was attempting to create