DataObjectCheckedOutException
This exception is triggered if it is attempted to execute an operation for a data object and the data object must be returned for this operation.
If a data object is to be deleted, then it may not be checked out by another user. This concerns the direct or indirect deletion of the data object. A data object can be indirectly deleted if it is a child object of a data object to be deleted.
Users can delete versions of data objects. If a data object is checked-out and the next to last version is to be deleted, then this exception is triggered. Since the data object is checked-out, the user can discard the data object and thus go back to the previous version. If the version were to now be deleted, this would lead to errors in the data status.
If the user currently logged on is operating in the ChangeSet context, then he cannot set the acceptance status for the data object. In addition, the status of the ChangeSet (ChangeSetState) cannot be set to "completely locked".
Constructors
Constructor | Description |
---|---|
DataObjectCheckedOutException() | Initialises a new instance of the DataObjectCheckedOutException class. |
Properties
Property | Description |
---|---|
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
Method | Description |
---|---|
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) |