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

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.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)
           
 
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

ResourceRequiredException

public ResourceRequiredException(RDFNode n)

ResourceRequiredException

public ResourceRequiredException(Node n)


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