com.hp.hpl.jena.rdf.model
Class LiteralRequiredException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hp.hpl.jena.shared.JenaException
                  extended by com.hp.hpl.jena.rdf.model.RDFException
                      extended by com.hp.hpl.jena.rdf.model.LiteralRequiredException
All Implemented Interfaces:
java.io.Serializable

public class LiteralRequiredException
extends RDFException

Exception to throw when an RDFNode required to be a Literal isn't, or when a literal Node is required but a non-literal Node supplied.

Author:
kers
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.hp.hpl.jena.rdf.model.RDFException
ALTHASNODEFAULT, ASSERTIONFAILURE, INVALIDBOOLEANFORMAT, INVALIDERRORCODE, INVALIDPROPERTYURI, ITERATORCLOSED, LITERALNOTCHAR, NESTEDEXCEPTION, NOREADERFORLANG, NORESOURCECONSTRUCTOR, NOSUCHELEMENT, NOTANONRESOURCE, NOTRELATEDTOMODEL, NOWRITERFORLANG, OBJECTNOTLITERAL, OBJECTNOTRESOURCE, OBJECTWRONGTYPE, PROPERTYNOTFOUND, SELECTOREXCEPTION, SEQINDEXBOUNDS, STATEMENTNOTPRESENT, SYNTAXERROR, UNKNOWNPROPERTY, UNSUPPORTEDOPERATION
 
Constructor Summary
LiteralRequiredException(Node n)
           
LiteralRequiredException(RDFNode n)
           
 
Method Summary
 
Methods inherited from class com.hp.hpl.jena.rdf.model.RDFException
getCause, getErrorCode, getMessage, getNestedException, toString
 
Methods inherited from class com.hp.hpl.jena.shared.JenaException
printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiteralRequiredException

public LiteralRequiredException(RDFNode n)

LiteralRequiredException

public LiteralRequiredException(Node n)


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