Uses of Class
org.datanucleus.exceptions.NucleusException

Packages that use NucleusException
org.datanucleus.exceptions This package provides exceptions thrown by the core (client-facing) parts of DataNucleus. 
org.datanucleus.jdo Package providing components specific to JDO persistence. 
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 compiled query is made up. 
org.datanucleus.sco Provides the mechanism for supporting mutable Second-Class Objects (SCOs). 
org.datanucleus.state Provides classes relating to the life cycle state of a persistable object. 
org.datanucleus.store.exceptions Provides exceptions that can be thrown when communicating with the datastore. 
org.datanucleus.store.mapped.exceptions   
org.datanucleus.store.mapped.expression This package provides a series of expressions and literals used in the conversion of a JDOQL query into the resultant SQL that is required to be executed in the datastore. 
org.datanucleus.store.query Package providing implementation of query language support for datastores. 
org.datanucleus.store.valuegenerator Value Generation. 
org.datanucleus.transaction   
 

Uses of NucleusException in org.datanucleus.exceptions
 

Subclasses of NucleusException in org.datanucleus.exceptions
 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 is 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 NoPersistenceInformationException
          Exception thrown when a class is required to have persistence information (metadata/annotations) yet none can be found.
 class NucleusDataStoreException
          Exception thrown by JPOX when a datastore occurs.
 class NucleusObjectNotFoundException
          Exception thrown by JPOX when an object doesnt exist in the datastore.
 class NucleusOptimisticException
          Exception thrown by JPOX 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 by JPOX 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 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 ObjectManager yet the transaction is already active.
 class TransactionActiveOnCloseException
          An exception thrown when close is invoked on an ObjectManager 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 ObjectManager 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.
 

Methods in org.datanucleus.exceptions that return NucleusException
 NucleusException NucleusException.setFatal()
          Method to set the exception as being fatal.
 

Uses of NucleusException in org.datanucleus.jdo
 

Methods in org.datanucleus.jdo with parameters of type NucleusException
static javax.jdo.JDOException NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusException jpe)
          Convenience method to convert an exception into a JDO exception.
 

Uses of NucleusException in org.datanucleus.metadata
 

Subclasses of NucleusException in org.datanucleus.metadata
 class InvalidAnnotationException
          Exception thrown when an annotation has been specified that is invalid in the circumstances.
 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.
 

Uses of NucleusException in org.datanucleus.properties
 

Subclasses of NucleusException in org.datanucleus.properties
 class PropertyTypeInvalidException
          Exception 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.query.expression
 

Subclasses of NucleusException in org.datanucleus.query.expression
 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.
 

Uses of NucleusException in org.datanucleus.sco
 

Subclasses of NucleusException in org.datanucleus.sco
 class IncompatibleFieldTypeException
          A IncompatibleFieldTypeException is thrown if an incompatible field type is specified in the construction of a second-class object instance.
 class NullsNotAllowedException
          Exception thrown if an attempt is made to insert a null object into a Collection or Map that doesn't support nulls.
 

Uses of NucleusException in org.datanucleus.state
 

Subclasses of NucleusException in org.datanucleus.state
 class IllegalStateTransitionException
          A IllegalStateTransitionException is thrown if a life-cycle state attempts a transition that is illegal.
 

Uses of NucleusException in org.datanucleus.store.exceptions
 

Subclasses of NucleusException in org.datanucleus.store.exceptions
 class ClassDefinitionException
          A ClassDefinitionException is thrown if the settings of a persistent class are inconsistent with it's metadata.
 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 NoDatastoreMappingException
          A NoDatastoreMappingException is thrown if an operation is performed that assumes that a particular persistent field is stored in a single datastore field when it is not (such as if the field is a Collection or a Map).
 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 NoSuchPersistentFieldException
          A NoSuchPersistentFieldException is thrown if a reference is made somewhere, such as in a query filter string, to a field that either doesn't exist or is not persistent.
 class NoTableManagedException
          A NoTableManagedException is thrown if an attempt is made to perform an operation using a class that is not backed by an table or view in the database and the operation is not supported on such classes.
 class NotYetFlushedException
          Exception thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be.
 class NullValueException
          A NullValueException is thrown if a null value is encountered in a database column that should prohibit null values.
 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 UnsupportedDataTypeException
          A UnsupportedDataTypeException is thrown if an attempt is made to persist an object field whose data type is not supported by the database and/or the persistence package.
 

Uses of NucleusException in org.datanucleus.store.mapped.exceptions
 

Subclasses of NucleusException in org.datanucleus.store.mapped.exceptions
 class DatastoreFieldDefinitionException
          A ColumnDefinitionException is thrown if the settings of a database column are incompatible with the data type of the object field to which it is mapped.
 class DuplicateDatastoreFieldException
          A DuplicateDatastoreFieldException is thrown if an attempt is made to add a column to a table with a name already in-use by an existing column.
 class IncompatibleQueryElementTypeException
          A IncompatibleQueryElementTypeException is thrown if a variable used in a query is detected to have an type incompatible with the element type of the collection to which it is being applied.
 class TooManyForeignKeysException
          A TooManyForeignKeysException is thrown when trying to add a foreign key to a table and the table already has the maximum allowed number of foreign keys.
 class TooManyIndicesException
          A TooManyIndicesException is thrown when trying to add an index to a table and the table already has the maximum allowed number of indices.
 

Uses of NucleusException in org.datanucleus.store.mapped.expression
 

Subclasses of NucleusException in org.datanucleus.store.mapped.expression
static class ScalarExpression.IllegalOperationException
          Inner class representing an illegal operation.
static class ScalarExpression.MethodInvocationException
          A method invocation error represents an effort to invoke a operation on a expression
 class TableMismatchException
          A TableMismatchException is thrown if the query statement generator attempts to reference a column in a table expression but the column's table is not present in the expression, nor can it be sensibly joined to the expression.
 

Uses of NucleusException in org.datanucleus.store.query
 

Subclasses of NucleusException in org.datanucleus.store.query
 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.
 

Uses of NucleusException in org.datanucleus.store.valuegenerator
 

Subclasses of NucleusException in org.datanucleus.store.valuegenerator
 class ValueGenerationException
          General class to throw exceptions in generators.
 

Uses of NucleusException in org.datanucleus.transaction
 

Subclasses of NucleusException in org.datanucleus.transaction
 class HeuristicMixedException
           
 class HeuristicRollbackException
           
 class NucleusTransactionException
           
 class RollbackException
           
 



Copyright © 2010. All Rights Reserved.