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

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.ResourceRequiredException
All Implemented Interfaces:
java.io.Serializable

public class ResourceRequiredException
extends RDFException

Exception to throw when an RDFNode required to be a Resource isn't, or when a Node supposed to be a resource isn't.

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
ResourceRequiredException(Node n)
           
ResourceRequiredException(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

ResourceRequiredException

public ResourceRequiredException(RDFNode n)

ResourceRequiredException

public ResourceRequiredException(Node n)


Copyright © 2000-2003 Hewlett-Packard. All Rights Reserved.