|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.odi.ObjectStoreException
com.odi.odmg.ODMGException
com.odi.DatabaseException
com.odi.odmg.DatabaseIsReadOnlyException
com.odi.UpdateReadOnlyException
Thrown when an attempt is made to call an entry point to modify a database either during a read-only transaction or for a database that has been opened for read-only.
Note that the exception might not be thrown right away. For example, in the interests of efficiency, this exception might not be signaled when an attempt is made to modify an object. It might be delayed until the object is evicted.
You can invoke Database.getOpenMode() to determine whether the database was opened for update or readonly. You can invoke Transaction.getType() to determine whether the transaction is for read-only or update. Extends com.odi.odmg.DatabaseIsReadOnlyException to fit into the ODMG exception heirachy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |