TryFunction – .NET Exception Handling in C/AL

Abstract

“When there is a need to use .NET classes within C/AL, one of the main challenges is to handle the exceptions the methods of these .NET classes may throw. Eventually, if not handled, they will basically bubble up as runtime errors, halting the current operation a user is doing without having a chance to properly display errors in a user-friendly format”

Source: https://community.dynamics.com/nav/w/designpatterns/244.tryfunction-net-exception-handling-in-cal

by Mostafa Balat, Microsoft Development Center Copenhagen

Leave a Reply

Your email address will not be published. Required fields are marked *

13 − 5 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enjoy this blog? Please spread the word :)

%d bloggers like this: