Overriding a function call with a J# java.lang.Exception parameter in C#

  • Thread starter Thread starter Bob Bryan
  • Start date Start date
B

Bob Bryan

Hi,

I am writing a windows app in C# and referencing a lib built in J# and which
I don't have the code for that requires a method to be overridden that
contains a parameter defined as:

java.lang.Exception

I tried specifying the .net Exception class instead, but then I got an error
message saying that my class did not define the the interface method.

Does anyone have any suggestions as to how to specify a java.lang.Exception
class in C#? Do I need a reference? Tried looking, but could not find
anything.

I'm stuck... Any suggestions welcome.

Bob
 
After using the object browser, I discovered that there is a .net referenece
that provides access to the java.lang.Exception class. Adding a reference
to vjslib solved the problem.
 
Back
Top