Rohit Yadav created CLOUDSTACK-1190: ---------------------------------------
Summary: Make APIChecker interface throw a single sensible exception Key: CLOUDSTACK-1190 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1190 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Reporter: Rohit Yadav Assignee: Min Chen Fix For: 4.1.0 At present based on a plugin's requirements there are two exceptions that are said to be thrown by a plugin implementing the APIChecker interface. Make it throw only one standard exception, it can be a new exception as well. We should not allow every plugin to introduce their own exceptions; public interface APIChecker extends Adapter { ... boolean checkAccess(User user, String apiCommandName) throws PermissionDeniedException, RequestLimitException; -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira