/// <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; }
internal ktIntObj(string Type, int iType, bool ABKT) { m_Type = Type; m_iType = iType; m_ErrNum = ktERR.NOERROR; m_Copy = false; m_AddedByKT = ABKT; }
protected void SetError(string Err) { m_Err = Err; m_ErrNum = ktERR.ERROR; }
protected void SetError(string Err, ktERR ErrNum) { m_Err = Err; m_ErrNum = ErrNum; }
/// <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) { }
/// <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) { }