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


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
 
Ad

Advertisements

B

Bob Bryan

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top