Пример #1
0
 private void SyntaxError(string errorMessage, LogoErrorCode errorCode)
 {
     throw new LogoSyntaxErrorException(errorMessage, errorCode, scanner.ScanBuffer);
 }
Пример #2
0
 protected LogoSyntaxErrorException(SerializationInfo info, StreamingContext context, LogoErrorCode errorCode,
                                    string scanBuffer) : base(info, context)
 {
     ErrorCode  = errorCode;
     ScanBuffer = scanBuffer;
 }
Пример #3
0
 public LogoSyntaxErrorException(LogoErrorCode errorCode, string scanBuffer)
 {
     ErrorCode  = errorCode;
     ScanBuffer = scanBuffer;
 }
Пример #4
0
 public LogoSyntaxErrorException(string message, Exception innerException, LogoErrorCode errorCode, string scanBuffer)
     : base(message, innerException)
 {
     ErrorCode  = errorCode;
     ScanBuffer = scanBuffer;
 }