示例#1
0
        private static string[] GetParsedResponse()
        {
            try
            {
                var response = BreakExceptionHandling.ParseResponse(BreakExceptionHandling.GetResponse());

                return(response);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);

                throw ex;
                //throw new Exception();
            }
        }
示例#2
0
        private static void Main()
        {
            var response = BreakExceptionHandling.GetParsedResponse();

            Console.WriteLine(response.Length);
        }
示例#3
0
        private static string GetResponse()
        {
            var httpResponse = BreakExceptionHandling.MakeHttpResponse();

            return(httpResponse);
        }