Correcting the exception throwing
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/1bea6c81 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/1bea6c81 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/1bea6c81 Branch: refs/heads/master Commit: 1bea6c8191310403a3c60b70e1159d8679e67bad Parents: 27ee9ea Author: Vishanth <[email protected]> Authored: Mon May 11 09:37:07 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Mon May 11 12:19:59 2015 +0530 ---------------------------------------------------------------------- .../java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/1bea6c81/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java index ab04a31..8c941d5 100644 --- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java +++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java @@ -443,7 +443,7 @@ public class StratosApiV41 extends AbstractApi { @AuthorizationAction("/permission/protected/manage/addServiceGroup") @SuperTenantService(true) public Response addServiceGroup( - GroupBean serviceGroupDefinition) throws RestAPIException, InvalidCartridgeGroupDefinitionException { + GroupBean serviceGroupDefinition) throws RestAPIException { try { StratosApiV41Utils.addServiceGroup(serviceGroupDefinition); URI url = uriInfo.getAbsolutePathBuilder().path(serviceGroupDefinition.getName()).build();
