Module org.apache.jena.core
Package org.apache.jena.shared
package org.apache.jena.shared
This package defines some classes common to the Jena API
and SPI levels, in particular the JenaException class from which
all Jena-specific exceptions hang, and the interface PrefixMapping
for translation to and from QNames.
-
ClassDescriptionSuperclass of exceptions thrown when permissions do not allow an operation on a graph.Exception to throw for a denied add operationException to throw when an attempt is made to create a named object (eg persistent model) when an object of that name already exists.The exception raised by reifyAs if a node is already bound to a single reified triple.Exception to throw when an assertion fails.Exception to indicate that authentication is required for the operation to proceed.Exception to throw when a string cannot be converted to a Boolean value.Exception to throw when a literal required to be a single character isn't.Exception to throw if a model (or graph) is a bad descriptionException to throw if a Description contains multiple roots of a specified type.Exception to throw if a Description has no root of a specified typeAn exception to throw if an internal error is detected.Exception to throw when a character cannot be encoded into some context for some reason.The exception thrown by reifyAs if a node is bound to bits and pieces of (an)other triple(s).Exception that may be thrown if an operation is attempted on a closed graph.An Exception indicating that Jena is not working because it is not correctly configured.Exception to throw if a delete is denied.Exception thrown when an attempt is made find an entity by name, but it cannot be located.Exception to throw when it is discovered that a property has been given an illegal URI.This should be a superclass of exceptions arising from Jena code.A multiple-reader plus single-writer lock.Lock implementation using a Multiple Reader, Single Writer policy.This exception is thrown when a putative namespace (for a PrefixMapping) ends with a name character, which we disallow because it is an invitation to errors.Exception to throw when there is no reader with the specified languageNoReasonerSuppliedException - the exception to throw if a reasoner (spec) was required, but none was given (eg in ModelSpecs).NoSuchReasonerException - the exception to throw when looking up a reasoner fails (in ModelSpec construction).Exception thrown when an attempt is made find something and it is not found.Exception to throw if there is no writer for the specified language.Superclass of exceptions of all refusals of operation on a graph.Methods for recording namespace prefix mappings and applying and unapplying them to URIs.Factory class to create an unspecified kind of PrefixMapping.Exception to throw when the prefix argument to setNsPrefix is illegal for some reason.Exception to throw when trying to update a locked PrefixMapping.Exception to throw if something does not have the specified property.Wraps a graph and randomizes the order of find results.RulesetNotFoundException - exception to throw when a Ruleset is not found (eg when handing reasoner specifications)Exception to throw when a syntax error is detected in some input.Exception to throw when Jena is presented with an unknown property of some kind.Jena exceptions that explicitly wrap other (usually checked) exceptions.A wrapped IO exception.