CSharp · Console
using System;
public class Test
{
public static void Main()
{
try
{
try
{
throw new Exception();
}
catch (Exception ex)
{
Console.WriteLine(ex);
Console.WriteLine();
throw;
}
}
catch (Exception ex)
{
Console.WriteLine(ex);
Console.WriteLine();
}
}
}