db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Van Couvering (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-296) Document error messages in the Derby Reference Manual
Date Tue, 14 Jun 2005 08:35:46 GMT
     [ http://issues.apache.org/jira/browse/DERBY-296?page=all ]

David Van Couvering updated DERBY-296:
--------------------------------------

    Attachment: ErrorMessageGenerator.java
                rrefexcept13113.dita

Hi, Jeff.  I tried to automatically compare your message texts with the output of ErrorMessages
VTI, but I wasn't able
to get there due to issues like line breaks and substitution of "{0}" and "{1}" with actual
text.

In the process, however, I did catch a couple of things:

- There are two SQL States that don't appear to match any of the classes you defined, and
which are actually missing
from your document:

  0A000 - "Feature not implemented: {0}."
  39004 - "A NULL value cannot be passed to a method which takes a parameter of primitive
type '{0}'."

- The messages for the new SYNONYM feature are missing: 42916 and 01522

In the process of trying to do the automated diffs, I did end up writing a tool that generates
the DITA file from the
ErrorMessage VTI.  I have attached this along with the resulting output.  Note that you do
lose the replacements
of argument position numbers (e.g. "{0}") with meaningful text, but I thought perhaps you
might still be tempted
to just generate your file rather than try to maintain it by hand...

David

> Document error messages in the Derby Reference Manual
> -----------------------------------------------------
>
>          Key: DERBY-296
>          URL: http://issues.apache.org/jira/browse/DERBY-296
>      Project: Derby
>         Type: Task
>   Components: Documentation
>     Versions: 10.1.0.0
>  Environment: all
>     Reporter: Jeff Levitt
>     Assignee: Jeff Levitt
>     Priority: Minor
>      Fix For: 10.1.0.0
>  Attachments: ErrorMessageGenerator.java, derby296withchanges.zip, rrefexcept13113.dita
>
> I've spent some time compiling a list of error messages for Derby, to expand on the error
messages section currently in the Reference Manual.  I am about ready to submit a candidate
patch, and I am opening up a JIRA issue to contain it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message