createAndUnzipProjectFolder(jitterPack, destination);
String projectName = descriptor.getProjectName();
String comment = descriptor.getComment();
return new ProjectDescriptor(projectName, projectFolder, comment);
} catch (KongaZipException ex) {
UnpackException ex2 = new UnpackException("An error occurred when unpacking the "
+ JitterPackConstants.SINGULAR + ": " + ex.getMessage(), ex);
logUnpackException(ex2);
throw ex2;
} catch (IOException ex) {
UnpackException ex2 = new UnpackException("An IO error occurred: " + ex.getMessage(), ex);
logUnpackException(ex2);
throw ex2;
} catch (InvalidPasswordException ex) {
UnpackException ex2 = new UnpackException(ex.getMessage(), ex);
logUnpackException(ex2);
throw ex2;
}
}