Uses of Class
org.datanucleus.exceptions.NucleusException
Packages that use NucleusException
Package
Description
Provides adapters for different client APIs, like JDO, JPA and so on.
DataNucleus ByteCode enhancer framework.
This package provides exceptions thrown by the core (client-facing) parts of DataNucleus.
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
Package providing handling for persistence properties, and in particular the validation of valid values.
Provides classes relating to the life cycle state management of a persistable object.
Package providing query language support for datastores.
Package handling the (generic) compilation of queries.
Package providing expressions from which a (generically) compiled query is made up.
Package providing basic java type handling for DataNucleus.
Value Generation.
Package providing support specific to transactions for DataNucleus.
-
Uses of NucleusException in org.datanucleus.api
Methods in org.datanucleus.api with parameters of type NucleusExceptionModifier and TypeMethodDescriptionApiAdapter.getApiExceptionForNucleusException(NucleusException ne) Convenience method to convert the passed NucleusException into an exception for the API. -
Uses of NucleusException in org.datanucleus.enhancer
Subclasses of NucleusException in org.datanucleus.enhancerModifier and TypeClassDescriptionclassException thrown during enhancement when an error occurs. -
Uses of NucleusException in org.datanucleus.exceptions
Subclasses of NucleusException in org.datanucleus.exceptionsModifier and TypeClassDescriptionclassA ClassNotDetachableException is thrown if an attempt is made to detach an object whose class is not detachable.classAn exception thrown when an operation is invoked that requires a persistable object yet the object passed in is not suitable.classA ClassNotResolvedException is thrown if an attempt is made to load a class that cannot be found by the ClassLoaderResolver.classA CommitStateTransitionException is thrown when an error occurs transitioning from one lifecycle state to another.classException thrown if a named connection factory cannot be found using its JNDI name.classRepresentation of an error encountered initialising a datastore.classException thrown when trying to update a datastores contents when it is read-only.classA DatastoreValidationException is thrown if a mismatch is discovered between what the JDO runtime thinks the datastore should look like and what it actually looks like.classA NoExtentException is thrown if an attempt is made to perform an operation using a class that is not backed by an extent (ie table or view) in the database and the operation is not supported on such classes.classException thrown when a class is required to have persistence information (metadata/annotations) yet none can be found.classException thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be.classException thrown when a retriable error occurs.classException thrown when a datastore occurs.classException thrown when a user error occurs and is fatal.classException thrown when an object doesn't exist in the datastore.classException thrown when a transaction fails due to optimistic verification checks.classException thrown when a particular option has been selected but isnt supported.classException thrown when a user error occurs.classA ObjectDetachedException is thrown if an attempt is made to use the object in a process that doesn't allow detached objects.classAn exception that is thrown when we have a relation to another persistable object that is not yet persistent and where the relation is not marked as cascade-persist.classException thrown when an error occurs in the rollback process of a state change.classAn exception thrown when active is invoked on an ExecutionContext yet the transaction is already active.classAn exception thrown when close is invoked on an ExecutionContext yet the transaction is still active.classAn exception thrown when an unsupported transaction isolation level is requested.classAn exception thrown when commit/rollback is invoked on an ExecutionContext yet the transaction is not active.classAn TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.classAn TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.classException thrown if a configured connection factory is not of a supported factory type.Methods in org.datanucleus.exceptions that return NucleusExceptionModifier and TypeMethodDescriptionNucleusException.setFatal()Method to set the exception as being fatal. -
Uses of NucleusException in org.datanucleus.metadata
Subclasses of NucleusException in org.datanucleus.metadataModifier and TypeClassDescriptionclassException thrown when an annotation has been specified that is invalid in the circumstances.classException thrown when meta-data specific to a class is invalid.classException thrown when meta-data specific to a member of a class is invalid.classRepresentation of an exception thrown when an error occurs in Meta-Data definition.classException thrown when a primary key class is found to be invalid for some reason. -
Uses of NucleusException in org.datanucleus.properties
Subclasses of NucleusException in org.datanucleus.propertiesModifier and TypeClassDescriptionclassException thrown when trying to access a property as a specific type yet it is not possible to return as that type. -
Uses of NucleusException in org.datanucleus.state
Subclasses of NucleusException in org.datanucleus.stateModifier and TypeClassDescriptionclassA IllegalStateTransitionException is thrown if a life-cycle state attempts a transition that is illegal. -
Uses of NucleusException in org.datanucleus.store.query
Subclasses of NucleusException in org.datanucleus.store.queryModifier and TypeClassDescriptionclassException thrown from internal query mechanism if no results are returned.classException thrown when a query execution is interrupted.classException thrown when invalid arguments/parameters are given.classThis exception is thrown when a user runs a Query and has marked it as UNIQUE, but it returns more than 1 object.classException thrown when a query times out beyond some specified timeout duration. -
Uses of NucleusException in org.datanucleus.store.query.compiler
Subclasses of NucleusException in org.datanucleus.store.query.compilerModifier and TypeClassDescriptionclassException thrown when a query compiler finds an error relative to the expected syntax. -
Uses of NucleusException in org.datanucleus.store.query.expression
Subclasses of NucleusException in org.datanucleus.store.query.expressionModifier and TypeClassDescriptionclassException thrown when compiling a PrimaryExpression and we find that it really represents a Class literal, and so should be swapped in the expression tree.classException thrown when compiling a PrimaryExpression and we find that it really represents a static field of a Class (literal), and so should be swapped in the Node tree.classException thrown when compiling a PrimaryExpression and we find that it really represents an invocation of a method, and so should be swapped in the expression tree.classException thrown when compiling a PrimaryExpression and we find that it really represents an implicit variable, and so should be swapped in the expression tree. -
Uses of NucleusException in org.datanucleus.store.types
Subclasses of NucleusException in org.datanucleus.store.typesModifier and TypeClassDescriptionclassA IncompatibleFieldTypeException is thrown if an incompatible field type is specified in the construction of a second-class object instance. -
Uses of NucleusException in org.datanucleus.store.valuegenerator
Subclasses of NucleusException in org.datanucleus.store.valuegeneratorModifier and TypeClassDescriptionclassGeneral class to throw exceptions in generators. -
Uses of NucleusException in org.datanucleus.transaction
Subclasses of NucleusException in org.datanucleus.transactionModifier and TypeClassDescriptionclassclassclassclass