Codeunit 1291 DotNet Exception Handler

Base Application, System.Utilities

Source AL, 89 lines

src/Layers/W1/BaseApp/Modules/System/ExceptionHandling/DotNetExceptionHandler.Codeunit.allines 5 to 20 of 89, Copyright (c) Microsoft Corporation. MIT

codeunit 1291 "DotNet Exception Handler"{    InherentEntitlements = X;    InherentPermissions = X;    trigger OnRun()    begin    end;    var        OuterException: DotNet Exception;    [Scope('OnPrem')]    procedure Catch(var Exception: DotNet Exception; Type: DotNet Type)    begin        Collect();

All 89 lines

Public procedures 6 in 29

Catch(var Exception: DotNet Exception; Type: DotNet Type)17-29
Collect()17-29
TryCastToType(Type: DotNet Type): Boolean17-29
CastToType(var Exception: DotNet Exception; Type: DotNet Type): Boolean17-29
GetMessage(): Text17-29
Rethrow()17-29