Objectivity for Java Reference

com.objy.db
Class CannotUpgradeLockException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--com.objy.db.ObjyRuntimeException
                          |
                          +--com.objy.db.ODMGRuntimeException
                                |
                                +--com.objy.db.CannotUpgradeLockException
All Implemented Interfaces:
Serializable

public class CannotUpgradeLockException
extends ODMGRuntimeException

Signals an attempt to upgrade a read lock to a write lock during an MROW transaction when another client has modified the object.

Note: You should not create or throw an exception of this class. You obtain an instance of this class by catching unchecked exceptions.

See Also:
Serialized Form

Constructor Summary
CannotUpgradeLockException()
          Reserved for internal use.
CannotUpgradeLockException(String msg)
          Reserved for internal use.
 
Methods inherited from class com.objy.db.ObjyRuntimeException
errors, reportErrors, setErrors
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CannotUpgradeLockException

public CannotUpgradeLockException()
Reserved for internal use. You should not use this constructor directly. You obtain an exception of this class only by catching unchecked exceptions.

CannotUpgradeLockException

public CannotUpgradeLockException(String msg)
Reserved for internal use. You should not use this constructor directly. You obtain an exception of this class only by catching unchecked exceptions.

Objectivity for Java Reference

Copyright © 2000 Objectivity, Inc. All rights reserved.