Eplan Platform API
Eplan.EplApi.DataModel Namespace / LockingExceptionFailedLockAttempt Class
Members

LockingExceptionFailedLockAttempt Class
Throw when StorableObject cannot be locked. It differs from LockingException as it has information about all objects which could not be locked (retrieved from Locking Manager) and is thrown only after failed lock attempt.
Inheritance Hierarchy

System.Object
   System.Exception
      System.ApplicationException
         Eplan.EplApi.Base.BaseException
            Eplan.EplApi.Base.LockingException
               Eplan.EplApi.DataModel.LockingExceptionFailedLockAttempt

Syntax
public class LockingExceptionFailedLockAttempt : Eplan.EplApi.Base.LockingException 
Public Constructors
 NameDescription
Public ConstructorInternal constructor with description.  
Top
Public Properties
 NameDescription
Public Property (Inherited from System.Exception)
Public Property (Inherited from System.Exception)
Public Property (Inherited from System.Exception)
Public Property (Inherited from System.Exception)
Public Property (Inherited from System.Exception)
Public PropertyReturns the level of message as Eplan.EplApi.Base.MessageLevel. (Inherited from Eplan.EplApi.Base.BaseException)
Public PropertyReturns number of repetitions of consecutive messages with the same text (i.e. error description) which are joined into one item in the system's message tree. (Inherited from Eplan.EplApi.Base.BaseException)
Public Property (Inherited from System.Exception)
Public Property (Inherited from System.Exception)
Public Property (Inherited from System.Exception)
Top
Public Methods
 NameDescription
Public MethodDestructor for deterministic finalization of BaseException object. (Inherited from Eplan.EplApi.Base.BaseException)
Public MethodMethod enters a message in the system-wide message tree. (Inherited from Eplan.EplApi.Base.BaseException)
Public MethodOverridden. returns all object ids of the objects which were not locked. In case this exception was produced while accessing unlocked object in write mode, only one object will be returned (the one which was accessed first).  
Public Method (Inherited from System.Exception)
Public MethodSets a label in the system error message management for getting a section of the 'message tree' (Inherited from Eplan.EplApi.Base.BaseException)
Public Methodreturns the object id of the first object which was not locked. . (Inherited from Eplan.EplApi.Base.LockingException)
Public Methodreturns the identifying S- number of a system message (Inherited from Eplan.EplApi.Base.BaseException)
Public MethodReturns the text of the system message without the index (Inherited from Eplan.EplApi.Base.BaseException)
Public Method (Inherited from System.Exception)
Public Method (Inherited from System.Exception)
Public Method (Inherited from System.Exception)
Top
See Also