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

copy routines in the FileUtil.java just return false on IO Exception. This leads to backup not reprting the real error in some cases.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Store
    • None

    Description

      Some of the copy routines in org.apache.derby.iapi.services.io;FileUtil.java , retuns false by catching IOExceptions. It will be better to throw exceptions.
      For example backup uses these routines in some case , if a copy during bacup fails becuase out of disk space ; all we tell the user is backup failed.
      It will be better to include the IO Excetpion.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tsuresh Suresh Thalamati
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: