Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2858

Export exceptions swallow useful information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.3.1.4
    • 10.3.1.4, 10.4.1.3
    • Tools
    • None

    Description

      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.

      Attachments

        1. link2.diff
          4 kB
          Knut Anders Hatlen
        2. link.diff
          1 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            rhillegas Richard N. Hillegas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: