Package | Description |
---|---|
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.store.query |
Package providing implementation of query language support for datastores.
|
org.datanucleus.store.types |
Package providing basic java type handling for DataNucleus.
|
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 |
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 |
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 |
NucleusFatalUserException
Exception thrown when a user error occurs and is fatal.
|
class |
NucleusUnsupportedOptionException
Exception thrown when a particular option has been selected but isnt supported.
|
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 |
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 | 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 |
QueryCompilerSyntaxException
Exception thrown when a query compiler finds an error relative to the expected syntax.
|
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.
|
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.
|
Copyright © 2019. All rights reserved.