Class EmptyListException

  • All Implemented Interfaces:
    java.io.Serializable

    public class EmptyListException
    extends JenaException

    A exception that is thrown when an operation is attempted on an empty (nil) list that actually requires a list of length one or more.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyListException()
      Construct an empty list exception with a default message.
      EmptyListException​(java.lang.String msg)
      Construct an empty list exception with a given message.
    • 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

      • EmptyListException

        public EmptyListException()
        Construct an empty list exception with a default message.
      • EmptyListException

        public EmptyListException​(java.lang.String msg)
        Construct an empty list exception with a given message.
        Parameters:
        msg - The exception message.