You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/05/11 08:50:12 UTC
[7/7] stratos git commit: Updating the method comments
Updating the method comments
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/27ee9ea2
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/27ee9ea2
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/27ee9ea2
Branch: refs/heads/master
Commit: 27ee9ea253c26dfbe7cf7e1f5071127592f0114c
Parents: 0a6518d
Author: Vishanth <vi...@gmail.com>
Authored: Fri May 8 12:29:01 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Mon May 11 12:19:59 2015 +0530
----------------------------------------------------------------------
.../stratos/rest/endpoint/api/StratosApiV41Utils.java | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/27ee9ea2/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
index 85fb00d..2081713 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41Utils.java
@@ -968,6 +968,7 @@ public class StratosApiV41Utils {
* Add a Service Group
*
* @param serviceGroupDefinition serviceGroupDefinition
+ * @throws InvalidCartridgeGroupDefinitionException
* @throws RestAPIException
*/
public static void addServiceGroup(GroupBean serviceGroupDefinition)
@@ -3234,7 +3235,7 @@ public class StratosApiV41Utils {
* This method is to validate the cartridge duplication in the group definition recursively for group within groups
*
* @param groupBean - cartridge group definition
- * @throws RestAPIException - throws the rest api exception when the group definition is invalid
+ * @throws InvalidCartridgeGroupDefinitionException - throws when the group definition is invalid
*/
private static void validateCartridgeDuplicationInGroupDefinition(GroupBean groupBean)
throws InvalidCartridgeGroupDefinitionException {
@@ -3260,7 +3261,7 @@ public class StratosApiV41Utils {
* This method is to validate the duplication of cartridges from the given list
*
* @param cartridges - list of strings which holds the cartridgeTypes values
- * @throws RestAPIException - throws the rest api exception when the cartridges are duplicated
+ * @throws InvalidCartridgeGroupDefinitionException - throws when the cartridges are duplicated
*/
private static void validateCartridgeDuplicationInGroup(List<String> cartridges)
throws InvalidCartridgeGroupDefinitionException {
@@ -3283,7 +3284,7 @@ public class StratosApiV41Utils {
*
* @param groupBean - cartridge group definition
* @param parentGroups - list of string which holds the parent group names (all parents in the hierarchy)
- * @throws RestAPIException - throws the rest api exception when the group definition is invalid
+ * @throws InvalidCartridgeGroupDefinitionException - throws when the group definition is invalid
*/
private static void validateGroupDuplicationInGroupDefinition(GroupBean groupBean, List<String> parentGroups)
throws InvalidCartridgeGroupDefinitionException {
@@ -3314,7 +3315,7 @@ public class StratosApiV41Utils {
*
* @param groups - cartridge group definition
* @param parentGroups - list of string which holds the parent group names (all parents in the hierarchy)
- * @throws RestAPIException - throws the rest api exception when group duplicate or when cyclic behaviour occurs
+ * @throws InvalidCartridgeGroupDefinitionException - throws when group duplicate or when cyclic behaviour occurs
*/
private static void validateGroupDuplicationInGroup(List<String> groups, List<String> parentGroups)
throws InvalidCartridgeGroupDefinitionException {