Class 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
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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)