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

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

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...


> 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:
>  Environment: all
>     Reporter: Jeff Levitt
>     Assignee: Jeff Levitt
>     Priority: Minor
>      Fix For:
>  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:
For more information on JIRA, see:

View raw message