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.LiteralRequiredException
All Implemented Interfaces:
Serializable

public class LiteralRequiredException
extends JenaException

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

Constructor Summary
LiteralRequiredException(Node n)
           
LiteralRequiredException(RDFNode n)
           
 
Method Summary
 
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

LiteralRequiredException

public LiteralRequiredException(RDFNode n)

LiteralRequiredException

public LiteralRequiredException(Node n)


Licenced under the Apache License, Version 2.0