public static void cancelSubscription(
ServletConfig config, HttpSession session) throws UIException {
try {
UpgradeServiceClient serviceClient = new UpgradeServiceClient(config, session);
serviceClient.cancelSubscription();
} catch (Exception e) {
String msg = "Failed to cancel the current subscription.";
log.error(msg, e);
throw new UIException(msg, e);
}