Re: [Ikvm-developers] Extension Method for System.Extention.printStackTrace() not found
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2013-08-13 18:26:07
|
Hi,
Maybe you're using a ancient C# compiler that doesn't know about extension methods. Try calling the method explictly:
ikvm.extensions.ExtensionMethods.printStackTrace(e);
BTW, 7.1 is not the latest version of IKVM.
Regards,
Jeroen
________________________________
From: Ryan Ternier
Sent: Tuesday, August 13, 2013 7:51 PM
To: ikv...@li...
Subject: [Ikvm-developers] Extension Method for System.Extention.printStackTrace() not found
I'm trying to get the underlying Java Exceptions that are being raised by Saxon.
I've referenced all the IKVM DLL's and it still throws errors.
I'm using the latest version of IKVM (7.1.4532) running .NET 2.0
using Saxon.Api;
using ikvm.extensions;
using IKVM.Runtime;
try
{
}
catch (System.Exception e)
{
e.printStackTrace();
}
Error: Error 68 'System.Exception' does not contain a definition for 'printStackTrace'
Thoughts?
Ryan Ternier
|