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

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

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

            return(this);
        }