public SteTryCatch AddCatch(string catchException, ISyntaxTreeElement catchCode) { CatchItems.Add( new TccTryCatchItem() { CatchException = new SteFixedCode(catchException), CatchCode = catchCode }); return(this); }
public SteTryCatch AddCatch(string catchException, string catchCode) { CatchItems.Add( new TccTryCatchItem() { CatchException = new SteFixedCode(catchException), CatchCode = new SteFixedCode(catchCode) }); return(this); }
public SteTryCatch AddCatch(ISyntaxTreeElement catchException, ISyntaxTreeElement catchCode) { CatchItems.Add( new TccTryCatchItem() { CatchException = catchException, CatchCode = catchCode }); return(this); }