throws CmisException {
CmisService service = null;
try {
service = getService(wsContext, repositoryId);
return convert(service.deleteTree(repositoryId, folderId, allVersions,
convert(UnfileObject.class, unfileObjects), continueOnFailure, convert(extension)));
} catch (Exception e) {
throw convertException(e);
} finally {
closeService(service);