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;
        }
}


_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to