Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`DatatypeFormatException()` Creates a new instance of `DatatypeFormatException` without detail message.
`DatatypeFormatException(java.lang.String msg)` Constructs an instance of `DatatypeFormatException` with the specified detail message.
`DatatypeFormatException(java.lang.String lexicalForm, RDFDatatype dtype, java.lang.String msg)` Preferred constructor.

Method Summary

Methods inherited from class com.hp.hpl.jena.shared.JenaException
`getCause, printStackTrace, printStackTrace`

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`

Constructor Detail

### DatatypeFormatException

    public DatatypeFormatException(java.lang.String lexicalForm,
                                   RDFDatatype dtype,
                                   java.lang.String msg)

  Preferred constructor.

  Parameters:
    `lexicalForm` - the illegal string discovered
    `dtype` - the datatype that found the problem
    `msg` - 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP