Package org.apache.jena.rdf.model
Class LiteralRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.jena.shared.JenaException
-
- org.apache.jena.rdf.model.LiteralRequiredException
-
- All Implemented Interfaces:
java.io.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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LiteralRequiredException(Node n)
LiteralRequiredException(RDFNode n)
-