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

Annunci