Report() public méthode

public Report ( CSToolsException e ) : void
e CSToolsException
Résultat void
Exemple #1
0
 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);
 }
Exemple #2
0
 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
 }
Exemple #3
0
 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
 }
Exemple #5
0
		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
		}