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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.hp.hpl.jena.shared.JenaException
                  extended bycom.hp.hpl.jena.rdf.model.RDFException
                      extended bycom.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)
           
 
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-2003 Hewlett-Packard. All Rights Reserved.