DataObjectAlreadyLockedException

This exception is triggered if it is attempted to set a lock for a data object and the lock already exists for that object or infringes another locking rule.

Locks for a data object are fundamental for changes to a data object in ChangeSets. A change, such as the renaming of a data object, will generate locks for this data object and any dependant data objects.

If for example a data object in a ChangeSet is moved into another level, then the data object to be moved is given the lock CsMoved and Existence. The lock Ordered locks this operation for other ChangeSets. The lock Existence locks all operations that would archive the data object. This means neither this data object nor the original superordinate data object can be deleted in another ChangeSet. Furthermore, the new superordinate data object is given the lock Existence. It is therefore ensured that this superordinate data object cannot be deleted and thus that the publication of the move could not lead to an error.

Extends: System.ApplicationException

Constructors

ConstructorDescription
DataObjectAlreadyLockedException()

Initialises a new instance of the DataObjectAlreadyLockedException class.

Properties

PropertyDescription
Data:IDictionary

Gets a listing of key value pairs providing additional user-defined information about the exception.

(Inherited by System.Exception)

HelpLink:String

Gets a link to the help file assigned to this exception, or specifies a link.

(Inherited by System.Exception)

InnerException:Exception

Gets the exception instance that caused the current exception.

(Inherited by System.Exception)

Message:String

Gets a message which describes the current exception.

(Inherited by System.Exception)

Source:String

Returns the name of the application or object that caused the error, or specifies this name.

(Inherited by System.Exception)

StackTrace:String

Gets a string representation of the immediate frames in the call stack.

(Inherited by System.Exception)

TargetSite:MethodBase

Gets the method that triggers the current exception.

(Inherited by System.Exception)

Methods

MethodDescription
Equals(Object):Boolean

Determines whether the indicated object is identical to the current object.

(Inherited by System.Object)

GetBaseException():Exception

Returns, when overwriting in a derived class, an exception which is the original cause for one or more subsequent exceptions.

(Inherited by System.Exception)

GetHashCode():Int32

Functions as the standard hash function.

(Inherited by System.Object)

GetObjectData(SerializationInfo, StreamingContext):Void

Specifies the SerializationInfo with information about the exception when overwriting in a derived class.

(Inherited by System.Exception)

GetType():Type

Calls the runtime type of the current instance.

(Inherited by System.Exception)

ToString():String

Creates a string equivalent of the current exception and returns this.

(Inherited by System.Exception)