Re: [Ikvm-developers] Extension Method for System.Extention.printStackTrace() not found
Brought to you by:
jfrijters
|
From: Ryan T. <rya...@ho...> - 2013-08-13 18:43:37
|
Unfortunately, some applications are not able to be upgraded, especially enterprise healthcare applications. So yes, it's a 2005 compiler. Drop the attitude please.
I've tried ikvm.extensions.ExtensionMethods.printStackTrace(e); which has not given me any information, not sure where that would output it.
Thoughts?
Ryan Ternier
From: je...@su...
To: rya...@ho...; ikv...@li...
Subject: RE: [Ikvm-developers] Extension Method for System.Extention.printStackTrace() not found
Date: Tue, 13 Aug 2013 18:25:31 +0000
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
|