Update autoscaler client with new exceptions
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/8f20bc4a Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/8f20bc4a Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/8f20bc4a Branch: refs/heads/master Commit: 8f20bc4a83fe140783994c50c23e444f66f88c1f Parents: 833f719 Author: Lahiru Sandaruwan <[email protected]> Authored: Wed Apr 29 15:12:53 2015 +0530 Committer: Lahiru Sandaruwan <[email protected]> Committed: Wed Apr 29 15:38:10 2015 +0530 ---------------------------------------------------------------------- .../apache/stratos/common/client/AutoscalerServiceClient.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/8f20bc4a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/AutoscalerServiceClient.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/AutoscalerServiceClient.java b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/AutoscalerServiceClient.java index 70ae874..2352f68 100644 --- a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/AutoscalerServiceClient.java +++ b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/client/AutoscalerServiceClient.java @@ -157,7 +157,7 @@ public class AutoscalerServiceClient { } public boolean addAutoscalingPolicy(AutoscalePolicy autoScalePolicy) throws RemoteException, - AutoscalerServiceInvalidPolicyExceptionException { + AutoscalerServiceAutoScalingPolicyAlreadyExistExceptionException { return stub.addAutoScalingPolicy(autoScalePolicy); } @@ -167,7 +167,7 @@ public class AutoscalerServiceClient { } public boolean removeAutoscalingPolicy(String autoScalePolicyId) throws RemoteException, - AutoscalerServiceInvalidPolicyExceptionException { + AutoscalerServicePolicyDoesNotExistExceptionException, AutoscalerServiceUnremovablePolicyExceptionException { return stub.removeAutoScalingPolicy(autoScalePolicyId); } @@ -198,7 +198,7 @@ public class AutoscalerServiceClient { } public void addDeploymentPolicy(DeploymentPolicy deploymentPolicy) throws RemoteException, - AutoscalerServiceDeploymentPolicyNotExistsExceptionException, AutoscalerServiceRemoteExceptionException, + AutoscalerServiceRemoteExceptionException, AutoscalerServiceInvalidDeploymentPolicyExceptionException, AutoscalerServiceDeploymentPolicyAlreadyExistsExceptionException { stub.addDeployementPolicy(deploymentPolicy); }
