Uses of Class
org.datanucleus.exceptions.NucleusException
-
Packages that use NucleusException 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.state Provides classes relating to the life cycle state management of a persistable object.org.datanucleus.store.query Package providing query language support for datastores.org.datanucleus.store.query.compiler Package handling the (generic) compilation of queries.org.datanucleus.store.query.expression Package providing expressions from which a (generically) compiled query is made up.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. -
-
Uses of NucleusException in org.datanucleus.api
Methods in org.datanucleus.api with parameters of type NucleusException Modifier and Type Method Description RuntimeExceptionApiAdapter. 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.enhancer Modifier and Type Class Description classNucleusEnhanceExceptionException thrown during enhancement when an error occurs. -
Uses of NucleusException in org.datanucleus.exceptions
Subclasses of NucleusException in org.datanucleus.exceptions Modifier and Type Class Description classClassNotDetachableExceptionA ClassNotDetachableException is thrown if an attempt is made to detach an object whose class is not detachable.classClassNotPersistableExceptionAn exception thrown when an operation is invoked that requires a persistable object yet the object passed in is not suitable.classClassNotResolvedExceptionA ClassNotResolvedException is thrown if an attempt is made to load a class that cannot be found by the ClassLoaderResolver.classCommitStateTransitionExceptionA CommitStateTransitionException is thrown when an error occurs transitioning from one lifecycle state to another.classConnectionFactoryNotFoundExceptionException thrown if a named connection factory cannot be found using its JNDI name.classDatastoreInitialisationExceptionRepresentation of an error encountered initialising a datastore.classDatastoreReadOnlyExceptionException thrown when trying to update a datastores contents when it is read-only.classDatastoreValidationExceptionA 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.classNoExtentExceptionA 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.classNoPersistenceInformationExceptionException thrown when a class is required to have persistence information (metadata/annotations) yet none can be found.classNotYetFlushedExceptionException thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be.classNucleusCanRetryExceptionException thrown when a retriable error occurs.classNucleusDataStoreExceptionException thrown when a datastore occurs.classNucleusFatalUserExceptionException thrown when a user error occurs and is fatal.classNucleusObjectNotFoundExceptionException thrown when an object doesn't exist in the datastore.classNucleusOptimisticExceptionException thrown when a transaction fails due to optimistic verification checks.classNucleusUnsupportedOptionExceptionException thrown when a particular option has been selected but isnt supported.classNucleusUserExceptionException thrown when a user error occurs.classObjectDetachedExceptionA ObjectDetachedException is thrown if an attempt is made to use the object in a process that doesn't allow detached objects.classReachableObjectNotCascadedExceptionAn 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.classRollbackStateTransitionExceptionException thrown when an error occurs in the rollback process of a state change.classTransactionActiveOnBeginExceptionAn exception thrown when active is invoked on an ExecutionContext yet the transaction is already active.classTransactionActiveOnCloseExceptionAn exception thrown when close is invoked on an ExecutionContext yet the transaction is still active.classTransactionIsolationNotSupportedExceptionAn exception thrown when an unsupported transaction isolation level is requested.classTransactionNotActiveExceptionAn exception thrown when commit/rollback is invoked on an ExecutionContext yet the transaction is not active.classTransactionNotReadableExceptionAn TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.classTransactionNotWritableExceptionAn TransactionNotReadableException is thrown if an operation needs either of an active transaction or non-transactional read and neither is true.classUnsupportedConnectionFactoryExceptionException thrown if a configured connection factory is not of a supported factory type.Methods in org.datanucleus.exceptions that return NucleusException Modifier and Type Method Description NucleusExceptionNucleusException. setFatal()Method to set the exception as being fatal. -
Uses of NucleusException in org.datanucleus.metadata
Subclasses of NucleusException in org.datanucleus.metadata Modifier and Type Class Description classInvalidAnnotationExceptionException thrown when an annotation has been specified that is invalid in the circumstances.classInvalidClassMetaDataExceptionException thrown when meta-data specific to a class is invalid.classInvalidMemberMetaDataExceptionException thrown when meta-data specific to a member of a class is invalid.classInvalidMetaDataExceptionRepresentation of an exception thrown when an error occurs in Meta-Data definition.classInvalidPrimaryKeyExceptionException 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.properties Modifier and Type Class Description classPropertyTypeInvalidExceptionException 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.state Modifier and Type Class Description classIllegalStateTransitionExceptionA 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.query Modifier and Type Class Description classNoQueryResultsExceptionException thrown from internal query mechanism if no results are returned.classQueryInterruptedExceptionException thrown when a query execution is interrupted.classQueryInvalidParametersExceptionException thrown when invalid arguments/parameters are given.classQueryNotUniqueExceptionThis exception is thrown when a user runs a Query and has marked it as UNIQUE, but it returns more than 1 object.classQueryTimeoutExceptionException 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.compiler Modifier and Type Class Description classQueryCompilerSyntaxExceptionException 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.expression Modifier and Type Class Description classPrimaryExpressionIsClassLiteralExceptionException thrown when compiling a PrimaryExpression and we find that it really represents a Class literal, and so should be swapped in the expression tree.classPrimaryExpressionIsClassStaticFieldExceptionException 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.classPrimaryExpressionIsInvokeExceptionException 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.classPrimaryExpressionIsVariableExceptionException 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.types Modifier and Type Class Description classIncompatibleFieldTypeExceptionA 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.valuegenerator Modifier and Type Class Description classValueGenerationExceptionGeneral class to throw exceptions in generators. -
Uses of NucleusException in org.datanucleus.transaction
Subclasses of NucleusException in org.datanucleus.transaction Modifier and Type Class Description classHeuristicMixedExceptionclassHeuristicRollbackExceptionclassNucleusTransactionExceptionclassRollbackException
-