Pages

Friday, 12 November 2010

Quickie: IKVM.NET - Logging Exceptions

The toString in Java Exceptions do not include the stack trace, the ToString in .NET Exceptions do include the stack trace. Nlog expects Exception.ToString to include the stack trace, so when logging Java exceptions either wrap with a .NET happy version or including the stack trace in the message.

No comments:

Post a Comment