commit | f5121a9b802c6ddd3661ed5cae602380dbe67090 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Aug 10 16:23:32 2011 -0700 |
committer | Kenny Root <kroot@google.com> | Wed Aug 10 17:00:30 2011 -0700 |
tree | a1a10eddf61e5e159f0d71a17e2cc47a09856752 | |
parent | 260e9105d7fc7b11c26a6843658df89b98d65971 [diff] |
Better errors from copyResource Copy resource would fail without a good error code when the file couldn't be found during copy. Also destroy the target container ID during move operations since it might exist. If the copy failed due to it existing, it would get destroyed anyway. This way the user has a chance to have a good outcome the first time. Bug: 3375299 Bug: 5113898 Change-Id: I00559833f0801bc50e7cc031b462495e37a6b4ab