Accessing Imported .NET Exception Classes

The JadeDotNetInvokeException user interface exception class provides the dotNetExceptionObject property, that is a type of JadeDotNetType. This property is populated with the .NET Exception object when an exception of type JadeDotNetInvokeException is generated and the class of the .NET exception object class was imported from the .NET assembly.

If the exception type object is not available, the property value is null. If the class was not imported from the .NET assembly, an object of JadeDotNetType type is created.

If the property is set to a reference, you can cast the object to its type and use it to obtain further .NET exception information.