Tools.CSToolsException.Handle C# (CSharp) Method

Handle() public method

public Handle ( ErrorHandler erh ) : void
erh ErrorHandler
return void
        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
        }

Usage Example

Ejemplo n.º 1
0
 public virtual void Error(CSToolsException e)
 {
     counter++;
     e.Handle(this);
 }
All Usage Examples Of Tools.CSToolsException::Handle