[ http://nagoya.apache.org/jira/browse/XERCESC-634?page=history ]

Alberto Massari updated XERCESC-634:
------------------------------------

    Priority: Major

> Error messages are not user friendly
> ------------------------------------
>
>          Key: XERCESC-634
>          URL: http://nagoya.apache.org/jira/browse/XERCESC-634
>      Project: Xerces-C++
>         Type: Bug
>   Components: Miscellaneous
>     Versions: 2.1.0
>  Environment: Operating System: All
> Platform: All
>     Reporter: Peter A. Volchek
>     Assignee: Xerces-C Developers Mailing List

>
> From: XMLMsgCat_EN_US.Msg
>   7  An exception occurred! Type:{0}, Message:{1}
> 156  An exception occurred! Type:{0}, Message:{1}
> 284  An exception occurred! Type:{0}, Message:{1}
> 285  Unexpected end of file exception. Message: {0}
>  45  Datatype error: Type:{0}, Message:{1}.
>  46  Schema error: Type:{0}, Message:{1}
> These message are not user friendly.
> For example I got the following exception:
> An exception occurred! Type:RuntimeException, Message:The primary document entit
> y could not be opened. Id=E:\team\review\send\020901\NAG\NagMsg_DTD ( line 0, 
> char 0 )
> The first part of the exception "An exception occurred! Type:RuntimeException, 
> Message:" is absolutely informative. Better state smth like: 
> "Parsing exception: The primary document entity could not be opened..."
> So, the proposal is:
> 1. Remove all informative text, like "An exception occurred!"
> 2. Remove template words, like Type: and Message:
> 3. Provide meaningfull error message
> As an example compare the following error templates. I think that the second is 
> better.
>  46  Schema error: Type:{0}, Message:{1}
>  46  Schema error: {1}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to