using System;
public class Program
{
static void Test(Action action){
try
action();
}
catch(Exception ex){
throw new Exception("Test Error!!", ex);
public static void Main()
try{
Test(()=> {
throw new NotImplementedException();
});
Console.Write(ex);