{"title":"Codeunit 1291 DotNet Exception Handler, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1291-dotnet-exception-handler/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":1291,"name":"DotNet Exception Handler","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1291-dotnet-exception-handler/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1291-dotnet-exception-handler/source/","path":"src/Layers/W1/BaseApp/Modules/System/ExceptionHandling/DotNetExceptionHandler.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{},"procs":[{"name":"Catch","line":18,"kind":"procedure","params":2,"steps":[[20,"call","Collect",0],[21,"call","CastToType",2],[22,"call","Rethrow",0]]},{"name":"TryCastToType","line":36,"kind":"procedure","params":1,"steps":[[40,"call","CastToType",2]]},{"name":"CastToType","line":44,"kind":"procedure","params":2,"steps":[[46,"call","IsCollected",0]]},{"name":"GetMessage","line":59,"kind":"procedure","params":0,"steps":[[63,"call","IsCollected",0]]},{"name":"Rethrow","line":73,"kind":"procedure","params":0,"steps":[[77,"call","GetMessage",0]]}]}