java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.jena.shared.JenaException
org.apache.jena.rdf.model.EmptyListException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionConstruct an empty list exception with a default message.EmptyListException
(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
-
Constructor Details
-
EmptyListException
public EmptyListException()Construct an empty list exception with a default message. -
EmptyListException
Construct an empty list exception with a given message.- Parameters:
msg
- The exception message.
-