uninstallConfig(actionRequest);
messageStatus = "Uninstalled application<br /><br />";
} else {
messageStatus = "Invalid value for changeState: " + action
+ "<br /><br />";
throw new PortletException("Invalid value for changeState: "
+ action);
}
} catch (NoSuchConfigException e) {
// ignore this for now
messageStatus = "Configuration not found<br /><br />";
throw new PortletException("Configuration not found", e);
} catch (InvalidConfigException e) {
messageStatus = "Configuration not found<br /><br />";
throw new PortletException("Configuration not found", e);
} catch (Exception e) {
messageStatus = "Encountered an unhandled exception<br /><br />";
throw new PortletException("Exception", e);
}
}