https://bugzilla.novell.com/show_bug.cgi?id=390150
Summary: Exception.ToString slight mis-format inner exception
stack-traces
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: CORLIB
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Created an attachment (id=215059)
--> (https://bugzilla.novell.com/attachment.cgi?id=215059)
Repro
With ToString with inner exceptions the separator between the multiple
stack-traces appears at the wrong position, e.g.
[[
AaaaException: msg --> BbbbException: msg
at c.m
at c.m -- separator --
at c.m
at c.m
]]
The separator should of course be where the blank line is. It cause me a
little bit of confusion each time I see the blank line.
Repro app attached, output:
[[
* MSFT
System.DivideByZeroException: Dddd dddd. ---> System.ArgumentException: Aaaa
aaa.
at InnerExceptionsToString.ThrowsInnerExceptionAaaa0000()
at InnerExceptionsToString.ThrowsInnerExceptionAaaa()
at InnerExceptionsToString.ThrowsInnerException0000()
--- End of inner exception stack trace ---
at InnerExceptionsToString.ThrowsInnerException0000()
at InnerExceptionsToString.ThrowsInnerException()
at InnerExceptionsToString.Catcher0000()
* Mono (1.9, SVN)
System.DivideByZeroException: Dddd dddd. ---> System.ArgumentException: Aaaa
aaa.
at InnerExceptionsToString.ThrowsInnerExceptionAaaa0000 () [0x00000]
at InnerExceptionsToString.ThrowsInnerExceptionAaaa () [0x00000]
at InnerExceptionsToString.ThrowsInnerException0000 () [0x00000] --- End of
inner exception stack trace ---
at InnerExceptionsToString.ThrowsInnerException0000 () [0x00000]
at InnerExceptionsToString.ThrowsInnerException () [0x00000]
at InnerExceptionsToString.Catcher0000 () [0x00000]
]]
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs