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

Error not being caught in 'Catch' of class method

$
0
0

I have a Try/Catch in my code:

Try

{

...

}

catch (Exception::CLRError)

{

...

}

For some reason, my class won't catch the CLRError.  It is being caught further up the stack in another class. In this case FormLetterService.Run. (My code is called at the end of the Project invoice proposal posting)

Why would my 'local' 'Catch' statement not get the error instead of the FormLetterService class?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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