Handling exception while creating ZIP archive