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

In This Topic
    WrongCategoryException Class
    In This Topic
    Throw when there is an error related to a Function's category, for example someone tries to change the category of a Plug object to TERMINAL, or get a parent TerminalStrip from a Terminal assigned to a PLC object.
    Inheritance Hierarchy

    System.Object
       System.Exception
          System.ApplicationException
             Eplan.EplApi.Base.BaseException
                Eplan.EplApi.DataModel.DataModelException
                   Eplan.EplApi.DataModel.WrongCategoryException

    Syntax
    public class WrongCategoryException : DataModelException 
    public ref class WrongCategoryException : public DataModelException 
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    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 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 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