コード例 #1
0
 public void Intercept(Ninject.Extensions.Interception.IInvocation invocation)
 {
     try
     {
         invocation.Proceed();
     }
     catch (InvalidOperationException e)
     {
         if (e.InnerException is ArgumentNullException)
         {
             var x = 1;
             //DO SOMETHING WITH THE ORIGIONAL ERROR!
         }
         
         //DO SOMETHING WITH THE ORIGIONAL ERROR!
     }
 }