You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/04/25 05:19:57 UTC

[2/4] stratos git commit: Add CloudControllerConnectionException to pass connection failure at CC service invocation

Add CloudControllerConnectionException to pass connection failure at CC service invocation


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/db482b81
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/db482b81
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/db482b81

Branch: refs/heads/master
Commit: db482b81913e06f12b740373547f1d08321dc8a7
Parents: 0f4ea4a
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Sat Apr 25 08:11:13 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Sat Apr 25 08:11:13 2015 +0530

----------------------------------------------------------------------
 .../CloudControllerConnectionException.java     | 30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/db482b81/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/exception/CloudControllerConnectionException.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/exception/CloudControllerConnectionException.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/exception/CloudControllerConnectionException.java
new file mode 100644
index 0000000..0d4960f
--- /dev/null
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/exception/CloudControllerConnectionException.java
@@ -0,0 +1,30 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.stratos.autoscaler.exception;
+
+public class CloudControllerConnectionException extends Exception {
+
+    public CloudControllerConnectionException(String message) {
+        super(message);
+    }
+
+    public CloudControllerConnectionException(String message, Exception e) {
+        super(message, e);
+    }
+}