}
}
}
private void unsubscribe(String uri, String subscriptionId, SessionInfo sessionInfo) throws RepositoryException {
UnSubscribeMethod method = null;
try {
method = new UnSubscribeMethod(uri, subscriptionId);
initMethod(method, sessionInfo);
getClient(sessionInfo).executeMethod(method);
method.checkSuccess();
} catch (IOException e) {
throw new RepositoryException(e);
} catch (DavException e) {
throw ExceptionConverter.generate(e);
} finally {
if (method != null) {
method.releaseConnection();
}
}
}