com.hp.hpl.jena.sparql.util
Class PropertyRequiredException

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.sparql.util.PropertyRequiredException
All Implemented Interfaces:
Serializable

public class PropertyRequiredException
extends com.hp.hpl.jena.shared.JenaException

Exception used to report that a required property is missing.

See Also:
Serialized Form

Constructor Summary
PropertyRequiredException(com.hp.hpl.jena.rdf.model.Resource root, com.hp.hpl.jena.rdf.model.Property property)
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Resource getProperty()
          Answer the required property.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyRequiredException

public PropertyRequiredException(com.hp.hpl.jena.rdf.model.Resource root,
                                 com.hp.hpl.jena.rdf.model.Property property)
Method Detail

getProperty

public com.hp.hpl.jena.rdf.model.Resource getProperty()
Answer the required property.



Licenced under the Apache License, Version 2.0