Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

AX 2012: Re-throw catched exception

$
0
0

Hi there

I'm trying to catch an exception, do then some actions and finally re-throw the catched exception, but how do I get the current exception type?

The code is similar to the example below:

try

{

      doSomething();

}

catch

{

     doSomethingOther();

     throw catchedExceptionBefore;

}

 

Thank you for your Ideas.


Viewing all articles
Browse latest Browse all 72043


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>