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.
Interface Summary Interface Description Lock PrefixMappingMethods for recording namespace prefix mappings and applying and unapplying them to URIs.
Class Summary Class Description LockMRPlusSWA multiple-reader plus single-writer lock. LockMRSWLock implementation using a Multiple Reader, Single Writer policy. LockMutex LockNone PrefixMapping.FactoryFactory class to create an unspecified kind of PrefixMapping. RandomOrderGraphWraps a graph and randomizes the order of find results.
Exception Summary Exception Description AccessDeniedExceptionSuperclass of exceptions thrown when permissions do not allow an operation on a graph. AddDeniedExceptionException to throw for a denied add operation AlreadyExistsExceptionException to throw when an attempt is made to create a named object (eg persistent model) when an object of that name already exists. AlreadyReifiedExceptionThe exception raised by reifyAs if a node is already bound to a single reified triple. AssertionFailureExceptionException to throw when an assertion fails. AuthenticationRequiredExceptionException to indicate that authentication is required for the operation to proceed. BadBooleanExceptionException to throw when a string cannot be converted to a Boolean value. BadCharLiteralExceptionException to throw when a literal required to be a single character isn't. BadDescriptionExceptionException to throw if a model (or graph) is a bad description BadDescriptionMultipleRootsExceptionException to throw if a Description contains multiple roots of a specified type. BadDescriptionNoRootExceptionException to throw if a Description has no root of a specified type BadURIExceptionA Jena exception for malformed URIs. BrokenExceptionAn exception to throw if an internal error is detected. CannotCreateException CannotEncodeCharacterExceptionException to throw when a character cannot be encoded into some context for some reason. CannotReifyExceptionThe exception thrown by reifyAs if a node is bound to bits and pieces of (an)other triple(s). ClosedExceptionException that may be thrown if an operation is attempted on a closed graph. ConfigExceptionAn Exception indicating that Jena is not working because it is not correctly configured. DeleteDeniedExceptionException to throw if a delete is denied. DoesNotExistExceptionException thrown when an attempt is made find an entity by name, but it cannot be located. InvalidPropertyURIExceptionException to throw when it is discovered that a property has been given an illegal URI. JenaExceptionThis should be a superclass of exceptions arising from Jena code. NamespaceEndsWithNameCharExceptionThis 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. NoReaderForLangExceptionException to throw when there is no reader with the specified language NoReasonerSuppliedExceptionNoReasonerSuppliedException - the exception to throw if a reasoner (spec) was required, but none was given (eg in ModelSpecs). NoSuchReasonerExceptionNoSuchReasonerException - the exception to throw when looking up a reasoner fails (in ModelSpec construction). NotFoundExceptionException thrown when an attempt is made find something and it is not found. NoWriterForLangExceptionException to throw if there is no writer for the specified language. OperationDeniedExceptionSuperclass of exceptions of all refusals of operation on a graph. PrefixMapping.IllegalPrefixExceptionException to throw when the prefix argument to setNsPrefix is illegal for some reason. PrefixMapping.JenaLockedExceptionException to throw when trying to update a locked PrefixMapping. PropertyNotFoundExceptionException to throw if something does not have the specified property. ReadDeniedException RulesetNotFoundExceptionRulesetNotFoundException - exception to throw when a Ruleset is not found (eg when handing reasoner specifications) SyntaxErrorException to throw when a syntax error is detected in some input. UnknownPropertyExceptionException to throw when Jena is presented with an unknown property of some kind. UpdateDeniedException WrappedExceptionJena exceptions that explicitly wrap other (usually checked) exceptions. WrappedIOExceptionA wrapped IO exception.