[
https://issues.apache.org/jira/browse/CLOUDSTACK-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593728#comment-13593728
]
ASF subversion and git services commented on CLOUDSTACK-1190:
-------------------------------------------------------------
Commit 5750fd9631c8064df0f9bb95117aacf497e00c23 in branch
refs/heads/ui-multiple-nics from [~minchen07]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=5750fd9 ]
CLOUDSTACK-1190: make APIChecker throw one sensible exception.
> 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