public override void Handle(ErrorHandler erh) { // 4.5b if (erh.throwExceptions) { throw this; // we expect Parser.Parse() to catch this but stop the parse } erh.Report(this); }
public virtual void Handle(ErrorHandler erh) // provides the default ErrorHandling implementation { if (erh.throwExceptions) { throw this; } if (handled) { return; } handled = true; erh.Report(this); // the parse table may allow recovery from this error }
public virtual void Handle(ErrorHandler erh) { if (erh.throwExceptions) { throw this; } if (this.handled) { return; } this.handled = true; erh.Report(this); }
// provides the default ErrorHandling implementation /// <exclude/> public virtual void Handle(ErrorHandler erh) { if (erh.throwExceptions) throw this; if (handled) return; handled = true; erh.Report(this); // the parse table may allow recovery from this error }
public virtual void Handle(ErrorHandler erh) // provides the default ErrorHandling implementation { if (erh.throwExceptions) throw this; if (handled) return; handled = true; erh.Report(this); // the parse table may allow recovery from this error }