copy routines in the FileUtil.java just return false on IO Exception. This leads to backup not reprting the real error in some cases. -------------------------------------------------------------------------------------------------------------------------------------------
Key: DERBY-1981 URL: http://issues.apache.org/jira/browse/DERBY-1981 Project: Derby Issue Type: Improvement Components: Store Reporter: Suresh Thalamati Fix For: 10.3.0.0 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. -- 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