1 56 57 package org.jdom; 58 59 67 public class DataConversionException extends JDOMException { 68 69 private static final String CVS_ID = 70 "@(#) $RCSfile: DataConversionException.java,v $ $Revision: 1.13 $ $Date: 2004/02/06 09:28:30 $ $Name: $"; 71 72 79 public DataConversionException(String name, String dataType) { 80 super(new StringBuffer () 81 .append("The XML construct ") 82 .append(name) 83 .append(" could not be converted to a ") 84 .append(dataType) 85 .toString()); 86 } 87 } 88 | Popular Tags |