com.hp.hpl.jena.datatypes
Class DatatypeFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hp.hpl.jena.shared.JenaException
com.hp.hpl.jena.datatypes.DatatypeFormatException
- All Implemented Interfaces:
- java.io.Serializable
public class DatatypeFormatException
- extends JenaException
Exception thrown when a lexical form does not match the stated
datatype.
- Version:
- $Revision: 1.13 $ on $Date: 2008/01/02 12:10:24 $
- Author:
- Dave Reynolds
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DatatypeFormatException
public DatatypeFormatException(java.lang.String lexicalForm,
RDFDatatype dtype,
java.lang.String msg)
- Preferred constructor.
- Parameters:
lexicalForm - the illegal string discovereddtype - the datatype that found the problemmsg - additional context for the error
DatatypeFormatException
public DatatypeFormatException()
- Creates a new instance of
DatatypeFormatException
without detail message.
DatatypeFormatException
public DatatypeFormatException(java.lang.String msg)
- Constructs an instance of
DatatypeFormatException
with the specified detail message.
- Parameters:
msg - the detail message.
Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP