Пример #1
0
 /// <summary>
 /// Constructor for the error class (mostely used when throwing errors)
 /// </summary>
 /// <param name="Error">The error message</param>
 /// <param name="ErrorNum">The error number</param>
 /// <param name="LineNo">The line on which the error was thrown</param>
 /// <param name="CharPos">The character by which the error was thrown</param>
 public ktError(ktString Error, ktERR ErrorNum, int LineNo, int CharPos)
     : base(Error)
 {
     m_Num = ErrorNum;
     m_LineNo = LineNo;
     m_CharPos = CharPos;
 }
Пример #2
0
        internal ktIntObj(string Type, int iType, bool ABKT)
        {
            m_Type = Type;
            m_iType = iType;

            m_ErrNum = ktERR.NOERROR;
            m_Copy = false;
            m_AddedByKT = ABKT;
        }
Пример #3
0
 protected void SetError(string Err)
 {
     m_Err = Err;
     m_ErrNum = ktERR.ERROR;
 }
Пример #4
0
 protected void SetError(string Err, ktERR ErrNum)
 {
     m_Err = Err;
     m_ErrNum = ErrNum;
 }
Пример #5
0
 /// <summary>
 /// Constructor for the error class (mostely used when throwing errors)
 /// </summary>
 /// <param name="Error">The error message</param>
 /// <param name="ErrorNum">The error number</param>
 public ktError(ktString Error, ktERR ErrorNum)
     : this(Error, ErrorNum, -1, -1)
 {
 }
Пример #6
0
 /// <summary>
 /// Constructor for the error class (mostely used when throwing errors)
 /// </summary>
 /// <param name="Error">The error message</param>
 /// <param name="ErrorNum">The error number</param>
 /// <param name="LineNo">The line on which the error was thrown</param>
 public ktError(ktString Error, ktERR ErrorNum, int LineNo)
     : this(Error, ErrorNum, LineNo, -1)
 {
 }