db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2858) Export exceptions swallow useful information
Date Mon, 25 Jun 2007 12:56:25 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-2858:
--------------------------------------

    Attachment: link2.diff

i18n/iepnegativetests_ES.sql failed with the link.diff patch since some of the test cases
printed more detailed error messages. Attaching a new patch which updates the canons for the
test (there is a j9_foundation canon which I have updated but not tested).

> Export exceptions swallow useful information
> --------------------------------------------
>
>                 Key: DERBY-2858
>                 URL: https://issues.apache.org/jira/browse/DERBY-2858
>             Project: Derby
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 10.3.1.0
>            Reporter: Rick Hillegas
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>         Attachments: link.diff, link2.diff
>
>
> If you try to export a table to a nonexistent directory, you get a SQLException which
tells you that an IOException occurred. The actual IOException tells you that the file or
directory can't be found. That is useful information and ought to appear in the message text
of the SQLException. E.g.:
> j> call SYSCS_UTIL.SYSCS_EXPORT_TABLE
> (
>   'APP',
>   'LOBTABLE',
>   '/unknown/test-export-table.dat',
>   null,
>   null,
>   null
> );
> ERROR XIE0I: An IOException occurred while writing data to the file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message