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(); } }
private static void Main() { var response = BreakExceptionHandling.GetParsedResponse(); Console.WriteLine(response.Length); }
private static string GetResponse() { var httpResponse = BreakExceptionHandling.MakeHttpResponse(); return(httpResponse); }