I want to use exception handling event to catch all the unexpected exceptions in my SAP B1 SDK application. Does the SDK have any exception handling mechanisms, similar to UnhandledException event from .NET?
In .NET you can catch all unhandled exceptions with following code
AppDomain.CurrentDomain.UnhandledException+=newUnhandledExceptionEventHandler(CurrentDomain_UnhandledException); // static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { //Code }