org.cdmckay.coffeedom
Class DataConversionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cdmckay.coffeedom.CoffeeDOMException
org.cdmckay.coffeedom.DataConversionException
- All Implemented Interfaces:
- Serializable
public class DataConversionException
- extends CoffeeDOMException
Thrown when a data conversion from a string to value type fails, such as can happen with the Attribute
convenience getter functions.
- Author:
- Brett McLaughlin, Jason Hunter
- See Also:
- Serialized Form
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 conversiondataType
- type the conversion was attempting to create
Copyright © 2011. All Rights Reserved.