Doesn't throw

CSharp · Console

/Program.cs

using System;


using System.Diagnostics;
using System.Net;
using System.Web;
using System.Web.UI;
					
public class Program
{
	public static void Main()
	{
		DoesntThrow();
	}
	
	private static void DoesntThrow()
	{
		 try
        {
            

            SwallowsException(@"{""destAddress"": [{ ""STCNTY"": ""USA"", } ]}");
        }
       
		catch (Exception ex)
		{
			Console.WriteLine(ex.Message);
		}
	}

	private static void SwallowsException(string json )
	{
		try
		{
			HttpContext.Current.Response.Write(json);
          
            HttpContext.Current.Response.End();
		}
		catch 
		{
			return;
		}
	}
}
;