Objectivity for Java Reference

Package com.objy.db

Provides exception and support classes.

See:
          Description

Class Summary
Objectivity Support class for obtaining information about the current release of Objectivity for Java.
 

Exception Summary
CannotUpgradeLockException Signals an attempt to upgrade a read lock to a write lock during an MROW transaction when another client has modified the object.
DatabaseClosedException Signals that the connection to the federated database was closed during an operation that requires the connection to be open.
DatabaseIsReadOnlyException Signals an attempt to modify a federated database when the connection is open for read-only access.
DatabaseNotFoundException Signals an attempt to open a connection to a federated database that does not exist.
DatabaseOpenException Signals an attempt to open a connection to a federated database when the connection is already open.
FetchCompletedWithErrors Signals that a fetch operation did not complete successfully.
FetchFailedException Deprecated. Use FetchCompletedWithErrors.
IsolationException Signals an attempt to perform a persistence operation involving objects that belong to different sessions.
JavaClassNotFoundException Signals an attempt to get a class whose name is not found.
JavaTypeNMismatchException Signals an attempt to fetch or write an object whose Java class does not match its Objectivity/DB type number.
LockNotGrantedException Signals a failure to obtain a requested lock.
NonPersistentClassException Signals an attempt to use a class that is not persistence capable in a context that requires a persistence-capable class.
NotJoinedException Signals an attempt to perform an operation that requires a thread to be joined to a session or ODMG transaction when the thread is not joined to the appropriate session or ODMG transaction.
ObjectAlreadyPersistentException Signals an attempt to make an object persistent that is already persistent.
ObjectIsDeadException Signals an attempt to perform an operation on a dead object.
ObjectNameNotFoundException Signals an attempt to look up an object by a root name that cannot be found.
ObjectNameNotUniqueException Signals an attempt to assign a root name to an object when that name is already assigned to an object in the same database or federated database.
ObjectNotFoundException Signals an attempt to reference an object identifier for which there is no persistent object.
ObjectNotPersistentException Signals an attempt to perform a persistence operation on a transient object that can only be performed on a persistent object.
ObjyException Superclass for all Objectivity/DB checked exceptions.
ObjyRuntimeException Superclass for all Objectivity/DB unchecked exceptions.
ObjySchemaException Signals the misuse of a class description in the schema, for example, an attempt to use a class description that does not exist.
ODMGException Superclass for all standard ODMG checked exceptions.
ODMGRuntimeException Superclass for all standard ODMG unchecked exceptions.
QueryParameterCountInvalidException Signals an attempt to use a predicate query whose number of bound parameters does not equal the number of placeholders.
QueryParameterTypeInvalidException Signals an attempt to use a predicate query with a parameter whose type is not compatible with the expected parameter type.
TransactionAbortedException Signals that Objectivity/DB has asynchronously terminated the application's transaction due to a deadlock, resource failure, and so on.
TransactionInProgressException Signals that a transaction is in progress during an operation that must be performed when no transaction is in progress.
TransactionNotInProgressException Signals that a transaction is not in progress during an operation that must be performed during a transaction.
 

Error Summary
ObjyError Reserved for internal use.
 

Package com.objy.db Description

Provides exception and support classes.

For information about working with exceptions, see Exceptions.


Objectivity for Java Reference

Copyright © 2000 Objectivity, Inc. All rights reserved.