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

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

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

            return(this);
        }