Dynamics AX FAQ / Tips & Tricks / X++ Development
Query: How to catch CLR Exception?
Answer:
catch (Exception::CLRError) { info("Caught 'Exception::CLRError'."); netExcepn = CLRInterop::getLastException(); info(netExcepn.ToString()); }