Bike.Test.ParserTest.Exception C# (CSharp) 메소드

Exception() 개인적인 메소드

private Exception ( ) : void
리턴 void
        public void Exception()
        {
            ParseAndWalk(@"try {
                               throw 'a';
                           } rescue {
                               print('error');
                           }");
            ParseAndWalk(@"try {
                               throw 'a';
                           } rescue err {
                               print(err);
                           }");
            ParseAndWalk(@"try {
                               throw 'a';
                           } finally {
                               print('done');
                           }");
            ParseAndWalk(@"try {
                               throw 'a';
                           } rescue err {
                               print(err);
                           } finally {
                               print('done');
                           }");
        }