Beispiel #1
0
        public SteTryCatch AddCatch(string catchException, ISyntaxTreeElement catchCode)
        {
            CatchItems.Add(
                new TccTryCatchItem()
            {
                CatchException = new SteFixedCode(catchException),
                CatchCode      = catchCode
            });

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

            return(this);
        }
Beispiel #3
0
        public SteTryCatch AddCatch(ISyntaxTreeElement catchException, ISyntaxTreeElement catchCode)
        {
            CatchItems.Add(
                new TccTryCatchItem()
            {
                CatchException = catchException,
                CatchCode      = catchCode
            });

            return(this);
        }