Hi,
Is there a way to format (or atleast insert line breaks) to the
exception output. In the catch block I do something like as follows,
but it does not add line break after the custom message, rather
displays <br> in the text :
catch(Exception ex){
throw new Exception("My Custom Message." +"<br />"+ ex.Message )
}
Any leads will be very appreciated.
TIA
Aamir Ghanchi - 13 Dec 2007 20:20 GMT
Me again.
Nevermind, "\n" works instead.
Never had thought that the compiler will translate into a <br> !
I'm good to go.
> Hi,
>
[quoted text clipped - 10 lines]
> Any leads will be very appreciated.
> TIA
Aamir Ghanchi - 13 Dec 2007 20:40 GMT
Learned one more thing: Environment.NewLine
> Me again.
> Nevermind, "\n" works instead.
[quoted text clipped - 17 lines]
>
> - Show quoted text -