DotNet Interop and Exception Handling

wakestarwakestar Member Posts: 207
edited 2015-01-29 in NAV Three Tier
Hi all

Since we are not able to catch .NET Exceptions in NAV.... I wonder what the preferred workaround is?

At the moment I can think of the following workarounds:

- write a generic .net assembly which uses reflection to call the classes and methods and handles the exceptions in a generic way
- write c# scripts on the fly and use an external engine like CS-Script
- write c# scripts on the fly and use .net internal classes with DotNet Interop to run the script (not sure if that works)

Any other ideas or recommendations?
How do you handle it?

Comments

Sign In or Register to comment.