Package cz.cvut.kbss.jopa.exceptions
package cz.cvut.kbss.jopa.exceptions
-
ExceptionsClassDescriptionException thrown when multiple contexts defined in a
AbstractDescriptor
are used for saving an assertion.Indicates that a modification to an attribute could not be performed.This exception is thrown when cardinality restriction constraint is violated.Thrown by the persistence provider when an entity reference obtained byEntityManager.getReference(Class, Object)
is accessed but the entity does not exist.This exception is raised when the user modifies an inferred attribute, which is forbidden.This exception is thrown when assertion identifier is not a valid URI.Thrown by the persistence provider whenQuery.getSingleResult()
orTypedQuery.getSingleResult()
is executed on a query and there is no result to return.Thrown by the persistence provider whenQuery.getSingleResult()
orTypedQuery.getSingleResult()
is executed on a query and there is more than one result from the query.Thrown when an attempt to put an entity with duplicate identifier into the persistence context is made.Generic exception indicating that something went wrong during execution of a persistence provider operation.Thrown by the persistence provider whenEntityTransaction.commit()
fails.This exception is thrown when an exception occurs while accessing the OntoDriver.Thrown by the persistence provider when a transaction is required but is not active.