At 12:29 PM 6/8/2001, Dean Roddey wrote:
>I think you are being a little overly anal there dude. Having messages be in
>semi-psuedo English isn't a bad thing. I think we can spare the extra three
>words in order to have a little friendlier message?
That might be, but I don't see the point in having "An exception occured!"
in the exception message. There are many other messages which don't
contain such a prefix because they are more specific. I don't have a
problem with "Unexpected end of file exception. Message: {0}" It should be
the job of the application built with the parser to supply a prefix if it
would display the message to a user. I know that an error occurred because
I received a call to my error handler with the error message; that there
was an error is implicit. It would be clear to anyone reading the
unprefixed message because the types end with the word Exception.
Error: "An exception occured! Type:RuntimeException, Message:The primary
document entity could not be opened. Id=c:\files"
-vs-
Error: "RuntimeException: The primary document entity could not be opened.
Id=c:\files"
Chris
>-----Original Message-----
>From: Chris Hill [mailto:[EMAIL PROTECTED]]
>Sent: Friday, June 08, 2001 10:27 AM
>To: [EMAIL PROTECTED]
>Subject: XMLErrList_EN_US.xml
>
>
>In the exception messages for the parser, there is one in particular which
>bothers me.
>
><Message Id="XMLException" Text="An exception occured! Type:{0},
>Message:{1}"/>
>
>Since all the exception types end in "Exception", I'd rather see the
>abbreviated form:
>
><Message Id="XMLException" Text="{0}: {1}"/>
>
>There are several misspellings in the errors as well ("occured"), which
>could probably be fixed with a spellchecker in about 5 minutes.
>
>Chris
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]