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

RE: Why try catch

$
0
0

Hi Mayur,

With the try/catch you can capture errors and do specific actions with them. Usually the coding will just do what it needs to do.

If you are using an external referenced dll, it might not be installed on the client, you can capture it and present a friendly message, the dll is missing in the installation.

Or for long running tasks, you can capture e.g. a database lock and do a retry.


Viewing all articles
Browse latest Browse all 175888

Trending Articles