C
csharpula csharp
Hello I got the following scenario:
Getting exception from some code unit :
catch (System.Exception ex)
{
throw new Exception("unable to load file project" , ex);
}
This exception is being catched in the upper unit which called this code
:
catch (Exception ex)
{
Console.write ("error aaa")
}
I can see only the last console print and not the Inner exception. Is
there any way to build my exceptios in a way that I will see the full
exception without printing the inner one?
Thank you
Getting exception from some code unit :
catch (System.Exception ex)
{
throw new Exception("unable to load file project" , ex);
}
This exception is being catched in the upper unit which called this code
:
catch (Exception ex)
{
Console.write ("error aaa")
}
I can see only the last console print and not the Inner exception. Is
there any way to build my exceptios in a way that I will see the full
exception without printing the inner one?
Thank you