Hi.
I have a function that raises a custom exception message. I am trying to
divide the message in 3 lines, but could not successfuly display the
message. Those were my tries:
Throw New IndexOutOfRangeException("Error converting the text.
Possibilities are:" & ControlChars.NewLine & "- Text is too long." &
ControlChars.NewLine & "- Text is empty.")
Throw New IndexOutOfRangeException("Error converting the text.
Possibilities are:<br>- Text is too long.<br>- Text is empty.")
How van I create an error message with multiple lines? Can anyone help
me with this?
Regards,
Chris Leffer
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!