[Mono-list] Exception Origin
Samuel Kaufman
skaufman@elite.net
Tue, 30 Mar 2004 20:37:23 +0000
When Mono prints the stack trace to the point where an exception was
thrown, it does not print the actual origin of the exception, but where
it was re-thrown. The code below should illustrate.
Is this a bug? I haven't tried the code under the MS .NET Framework.
---
// $ mono LuoSharp.exe
// Error: Invalid gump. Lookup was 0xffffffff.
//
// Unhandled Exception: System.Exception: Invalid gump.
// in <0x0019c> Luo.App:Main (string[])
internal static void Main(string [] args)
{
try
{
ImaginaryMain.Run();
}
catch (Exception e)
{
Notify.Error(e);
throw;
}
}