Package | Description |
---|---|
org.datanucleus.api |
Provides adapters for different client APIs, like JDO, JPA and so on.
|
org.datanucleus.enhancer |
DataNucleus ByteCode enhancer framework.
|
org.datanucleus.exceptions |
This package provides exceptions thrown by the core (client-facing) parts of DataNucleus.
|
org.datanucleus.metadata |
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
|
org.datanucleus.properties |
Package providing handling for persistence properties, and in particular the validation of valid values.
|
org.datanucleus.query.expression |
Package providing expressions from which a (generically) compiled query is made up.
|
org.datanucleus.state |
Provides classes relating to the life cycle state of a persistable object.
|
org.datanucleus.store.query |
Package providing implementation of query language support for datastores.
|
org.datanucleus.store.types |
Package providing basic java type handling for DataNucleus.
|
org.datanucleus.store.valuegenerator |
Value Generation.
|
org.datanucleus.transaction |
Package providing support specific to transactions for DataNucleus.
|
Modifier and Type | Method and Description |
---|---|
RuntimeException |
ApiAdapter.getApiExceptionForNucleusException(NucleusException ne)
Convenience method to convert the passed NucleusException into an exception for the API.
|
Modifier and Type | Class and Description |
---|---|
class |
NucleusEnhanceException
Exception thrown during enhancement when an error occurs.
|
Modifier and Type | Class and Description |
---|---|
class |
ClassNotDetachableException
A ClassNotDetachableException is thrown if an attempt is
made to detach an object whose class is not detachable.
|
class |
ClassNotPersistableException
An exception thrown when an operation is invoked that requires a persistable object yet the object passed in
is not suitable.
|
class |
ClassNotResolvedException
A ClassNotResolvedException is thrown if an attempt is
made to load a class that cannot be found by the ClassLoaderResolver.
|
class |
CommitStateTransitionException
A CommitStateTransitionException is thrown when an error occurs
transitioning from one lifecycle state to another.
|
class |
ConnectionFactoryNotFoundException
Exception thrown if a named connection factory cannot be found using its JNDI name.
|
class |
DatastoreInitialisationException
Representation of an error encountered initialising a datastore.
|
class |
DatastoreReadOnlyException
Exception thrown when trying to update a datastores contents when it is read-only.
|
class |
DatastoreValidationException
A 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.
|
class |
NoExtentException
A 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.
|
class |
NoPersistenceInformationException
Exception thrown when a class is required to have persistence information (metadata/annotations) yet none
can be found.
|
class |
NotYetFlushedException
Exception thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be.
|
class |
NucleusCanRetryException
Exception thrown when a retriable error occurs.
|
class |
NucleusDataStoreException
Exception thrown when a datastore occurs.
|
class |
NucleusFatalUserException
Exception thrown when a user error occurs and is fatal.
|
class |
NucleusObjectNotFoundException
Exception thrown when an object doesn't exist in the datastore.
|
class |
NucleusOptimisticException
Exception thrown when a transaction fails due to optimistic verification checks.
|
class |
NucleusUnsupportedOptionException
Exception thrown when a particular option has been selected but isnt supported.
|
class |
NucleusUserException
Exception thrown when a user error occurs.
|
class |
ObjectDetachedException
A ObjectDetachedException is thrown if an attempt is
made to use the object in a process that doesn't allow detached objects.
|
class |
ReachableObjectNotCascadedException
An 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.
|
class |
RollbackStateTransitionException
Exception thrown when an error occurs in the rollback process of a state change.
|
class |
TransactionActiveOnBeginException
An exception thrown when active is invoked on an ExecutionContext yet the transaction is already active.
|
class |
TransactionActiveOnCloseException
An exception thrown when close is invoked on an ExecutionContext yet the transaction is still active.
|
class |
TransactionIsolationNotSupportedException
An exception thrown when an unsupported transaction isolation level is requested.
|
class |
TransactionNotActiveException
An exception thrown when commit/rollback is invoked on an ExecutionContext yet the transaction is not active.
|
class |
TransactionNotReadableException
An TransactionNotReadableException is thrown if an operation needs either of
an active transaction or non-transactional read and neither is true.
|
class |
TransactionNotWritableException
An TransactionNotReadableException is thrown if an operation needs either of
an active transaction or non-transactional read and neither is true.
|
class |
UnsupportedConnectionFactoryException
Exception thrown if a configured connection factory is not of a supported factory type.
|
Modifier and Type | Method and Description |
---|---|
NucleusException |
NucleusException.setFatal()
Method to set the exception as being fatal.
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidAnnotationException
Exception thrown when an annotation has been specified that is invalid in the circumstances.
|
class |
InvalidClassMetaDataException
Exception thrown when meta-data specific to a class is invalid.
|
class |
InvalidMemberMetaDataException
Exception thrown when meta-data specific to a member of a class is invalid.
|
class |
InvalidMetaDataException
Representation of an exception thrown when an error occurs in Meta-Data definition.
|
class |
InvalidPrimaryKeyException
Exception thrown when a primary key class is found to be invalid for some reason.
|
Modifier and Type | Class and Description |
---|---|
class |
PropertyTypeInvalidException
Exception thrown when trying to access a property as a specific type yet it is not possible
to return as that type.
|
Modifier and Type | Class and Description |
---|---|
class |
PrimaryExpressionIsClassLiteralException
Exception thrown when compiling a PrimaryExpression and we find that it really represents
a Class literal, and so should be swapped in the expression tree.
|
class |
PrimaryExpressionIsClassStaticFieldException
Exception 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.
|
class |
PrimaryExpressionIsInvokeException
Exception 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.
|
class |
PrimaryExpressionIsVariableException
Exception thrown when compiling a PrimaryExpression and we find that it really represents
an implicit variable, and so should be swapped in the expression tree.
|
Modifier and Type | Class and Description |
---|---|
class |
IllegalStateTransitionException
A IllegalStateTransitionException is thrown if a life-cycle
state attempts a transition that is illegal.
|
Modifier and Type | Class and Description |
---|---|
class |
NoQueryResultsException
Exception thrown from internal query mechanism if no results are returned.
|
class |
QueryCompilerSyntaxException
Exception thrown when a query compiler finds an error relative to the expected syntax.
|
class |
QueryInterruptedException
Exception thrown when a query execution is interrupted.
|
class |
QueryInvalidParametersException
Exception thrown when invalid arguments/parameters are given.
|
class |
QueryNotUniqueException
This exception is thrown when a user runs a Query and has marked it as UNIQUE, but
it returns more than 1 object.
|
class |
QueryTimeoutException
Exception thrown when a query times out beyond some specified timeout duration.
|
Modifier and Type | Class and Description |
---|---|
class |
IncompatibleFieldTypeException
A IncompatibleFieldTypeException is thrown if an incompatible field
type is specified in the construction of a second-class object instance.
|
Modifier and Type | Class and Description |
---|---|
class |
ValueGenerationException
General class to throw exceptions in generators.
|
Modifier and Type | Class and Description |
---|---|
class |
HeuristicMixedException |
class |
HeuristicRollbackException |
class |
NucleusTransactionException |
class |
RollbackException |
Copyright © 2019. All rights reserved.