cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-1190) Make APIChecker interface throw a single sensible exception
Date Tue, 05 Mar 2013 17:50:14 GMT


ASF subversion and git services commented on CLOUDSTACK-1190:

Commit 5750fd9631c8064df0f9bb95117aacf497e00c23 in branch refs/heads/master from [~minchen07]
[;h=5750fd9 ]

CLOUDSTACK-1190: make APIChecker throw one sensible exception.

> Make APIChecker interface throw a single sensible exception
> -----------------------------------------------------------
>                 Key: CLOUDSTACK-1190
>                 URL:
>             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,

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:

View raw message