It could also happen when the file fails to delete.  Maybe that should be an IOException or some other sort, since it technically isn't an upload error.