db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Hillegas <Richard.Hille...@Sun.COM>
Subject Re: [jira] Updated: (DERBY-1566) Document SQLStates in 10.2
Date Thu, 31 Aug 2006 15:51:09 GMT
Thanks, John!

John H. Embretsen (JIRA) wrote:

>     [ http://issues.apache.org/jira/browse/DERBY-1566?page=all ]
>John H. Embretsen updated DERBY-1566:
>    Attachment: ErrorMessageGenerator_davidv3_john.diff
>I was not able to find a utility method for creating HTML-friendly Strings in Java, but
I made a simple one myself and added it to ErrorMessageGenerator.david.java after applying
'...diffs3'. My diff is attached as 'ErrorMessageGenerator_davidv3_john.diff'. The method
replaces "<" with "&lt;" and ">" with "&gt;" (other replacements must be added
if needed). The utility method is used in the method generateMessages(), for error messages
only. The output looks ok to my eyes.
>I hope this helps reducing the manual labor required to build the specific manual page
in the future.
>>Document SQLStates in 10.2
>>                Key: DERBY-1566
>>                URL: http://issues.apache.org/jira/browse/DERBY-1566
>>            Project: Derby
>>         Issue Type: Improvement
>>         Components: Documentation
>>   Affects Versions:
>>           Reporter: Rick Hillegas
>>        Assigned To: David Van Couvering
>>            Fix For:
>>        Attachments: derby-1566-1.diff, derby-1566-2.diff, derby-1566-3.diff, ErrorMessageGenerator.david.diffs,
ErrorMessageGenerator.david.diffs2, ErrorMessageGenerator.david.diffs3, ErrorMessageGenerator.david.java,
ErrorMessageGenerator.java, ErrorMessageGenerator_davidv3_john.diff, newmsgs-10.2.txt, rrefexcept-2.html,
rrefexcept-3.html, rrefexcept71493.html
>>We need to update the Reference Guide to document the current list of SQLStates. This
list goes into
>>Reference Guide
>>  Derby exception messages and SQL states
>>    SQLState and error message reference
>>The tool mentioned in DERBY-296 may be useful.

View raw message