This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2f4a54effb854de3d527795d8076817b48734fb5
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Thu Mar 10 16:00:15 2022 +0100

    CAMEL-17763: cleaned up unused exceptions in camel-huaweicloud-obs
---
 .../camel/component/huaweicloud/obs/BucketMetadataFunctionalTest.java | 4 ++--
 .../apache/camel/component/huaweicloud/obs/BucketMetadataTest.java    | 4 ++--
 .../camel/component/huaweicloud/obs/CheckBucketFunctionalTest.java    | 4 ++--
 .../org/apache/camel/component/huaweicloud/obs/CheckBucketTest.java   | 4 ++--
 .../camel/component/huaweicloud/obs/CreateBucketFunctionalTest.java   | 4 ++--
 .../component/huaweicloud/obs/CreateBucketJsonFunctionalTest.java     | 4 ++--
 .../apache/camel/component/huaweicloud/obs/CreateBucketJsonTest.java  | 4 ++--
 .../component/huaweicloud/obs/CreateBucketPojoFunctionalTest.java     | 4 ++--
 .../apache/camel/component/huaweicloud/obs/CreateBucketPojoTest.java  | 4 ++--
 .../org/apache/camel/component/huaweicloud/obs/CreateBucketTest.java  | 4 ++--
 .../camel/component/huaweicloud/obs/DeleteBucketFunctionalTest.java   | 4 ++--
 .../org/apache/camel/component/huaweicloud/obs/DeleteBucketTest.java  | 4 ++--
 .../camel/component/huaweicloud/obs/DownloadDeleteFunctionalTest.java | 4 ++--
 .../camel/component/huaweicloud/obs/DownloadFunctionalTest.java       | 4 ++--
 .../component/huaweicloud/obs/DownloadMoveExistsFunctionalTest.java   | 4 ++--
 .../camel/component/huaweicloud/obs/DownloadMoveFunctionalTest.java   | 4 ++--
 .../camel/component/huaweicloud/obs/DownloadSingleFunctionalTest.java | 4 ++--
 .../camel/component/huaweicloud/obs/GetObjectFunctionalTest.java      | 4 ++--
 .../org/apache/camel/component/huaweicloud/obs/GetObjectTest.java     | 4 ++--
 .../camel/component/huaweicloud/obs/ListBucketsFunctionalTest.java    | 4 ++--
 .../org/apache/camel/component/huaweicloud/obs/ListBucketsTest.java   | 4 ++--
 .../camel/component/huaweicloud/obs/ListObjectsFunctionalTest.java    | 4 ++--
 .../component/huaweicloud/obs/ListObjectsJsonFunctionalTest.java      | 4 ++--
 .../apache/camel/component/huaweicloud/obs/ListObjectsJsonTest.java   | 4 ++--
 .../apache/camel/component/huaweicloud/obs/ListObjectsMaxTest.java    | 4 ++--
 .../component/huaweicloud/obs/ListObjectsPojoFunctionalTest.java      | 4 ++--
 .../apache/camel/component/huaweicloud/obs/ListObjectsPojoTest.java   | 4 ++--
 .../org/apache/camel/component/huaweicloud/obs/ListObjectsTest.java   | 4 ++--
 .../camel/component/huaweicloud/obs/PutObjectFileFunctionalTest.java  | 4 ++--
 .../component/huaweicloud/obs/PutObjectStringFunctionalTest.java      | 4 ++--
 .../apache/camel/component/huaweicloud/obs/PutObjectStringTest.java   | 4 ++--
 .../org/apache/camel/component/huaweicloud/obs/PutObjectTest.java     | 4 ++--
 32 files changed, 64 insertions(+), 64 deletions(-)

diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/BucketMetadataFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/BucketMetadataFunctionalTest.java
index d4220f9..9fa360b 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/BucketMetadataFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/BucketMetadataFunctionalTest.java
@@ -33,10 +33,10 @@ public class BucketMetadataFunctionalTest extends 
CamelTestSupport {
     private static final String REGION = "replace_this_with_region";
     private static final String BUCKET_NAME = "replace_this_with_bucket_name";
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:bucket_metadata")
                         .setProperty("CamelHwCloudObsBucketName", 
constant(BUCKET_NAME))
                         .to("hwcloud-obs:getBucketMetadata?" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/BucketMetadataTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/BucketMetadataTest.java
index 0c8378a..5db2a45 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/BucketMetadataTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/BucketMetadataTest.java
@@ -42,10 +42,10 @@ public class BucketMetadataTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:bucket_metadata")
                         .setProperty("CamelHwCloudObsBucketName", 
constant(testConfiguration.getProperty("bucketName")))
                         .to("hwcloud-obs:getBucketMetadata?" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CheckBucketFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CheckBucketFunctionalTest.java
index 1b5637b..49f154a 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CheckBucketFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CheckBucketFunctionalTest.java
@@ -33,10 +33,10 @@ public class CheckBucketFunctionalTest extends 
CamelTestSupport {
     private static final String REGION = "replace_this_with_region";
     private static final String BUCKET_NAME = "replace_this_with_bucket_name";
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:check_bucket")
                         .to("hwcloud-obs:checkBucketExists?" +
                             "accessKey=" + ACCESS_KEY +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CheckBucketTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CheckBucketTest.java
index 85b74cb..97e9fa9 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CheckBucketTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CheckBucketTest.java
@@ -41,10 +41,10 @@ public class CheckBucketTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:check_bucket")
                         .to("hwcloud-obs:checkBucketExists?" +
                             "accessKey=" + 
testConfiguration.getProperty("accessKey") +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketFunctionalTest.java
index 6afc58a..0b7ba35 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketFunctionalTest.java
@@ -39,9 +39,9 @@ public class CreateBucketFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:create_bucket")
                         .to("hwcloud-obs:createBucket?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketJsonFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketJsonFunctionalTest.java
index 27973b0..3cc2018 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketJsonFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketJsonFunctionalTest.java
@@ -39,9 +39,9 @@ public class CreateBucketJsonFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:create_bucket")
                         .to("hwcloud-obs:createBucket?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketJsonTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketJsonTest.java
index f158bb2..c00e72e 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketJsonTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketJsonTest.java
@@ -45,10 +45,10 @@ public class CreateBucketJsonTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:create_bucket")
                         .to("hwcloud-obs:createBucket?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketPojoFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketPojoFunctionalTest.java
index 3899272..8fa3812 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketPojoFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketPojoFunctionalTest.java
@@ -40,9 +40,9 @@ public class CreateBucketPojoFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:create_bucket")
                         .to("hwcloud-obs:createBucket?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketPojoTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketPojoTest.java
index 802cd77..445b4ca 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketPojoTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketPojoTest.java
@@ -45,10 +45,10 @@ public class CreateBucketPojoTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:create_bucket")
                         .to("hwcloud-obs:createBucket?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketTest.java
index 136ecb1..0a96cc8 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/CreateBucketTest.java
@@ -45,10 +45,10 @@ public class CreateBucketTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:create_bucket")
                         .to("hwcloud-obs:createBucket?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DeleteBucketFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DeleteBucketFunctionalTest.java
index 400cc3a..4aa1504 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DeleteBucketFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DeleteBucketFunctionalTest.java
@@ -38,9 +38,9 @@ public class DeleteBucketFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:delete_bucket")
                         .setProperty("CamelHwCloudObsBucketName", 
constant(BUCKET_NAME))
                         .to("hwcloud-obs:deleteBucket?" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DeleteBucketTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DeleteBucketTest.java
index 72b6271..0bb24ae 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DeleteBucketTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DeleteBucketTest.java
@@ -47,10 +47,10 @@ public class DeleteBucketTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:delete_bucket")
                         .setProperty("CamelHwCloudObsBucketName", 
constant(testConfiguration.getProperty("bucketName")))
                         .to("hwcloud-obs:deleteBucket?" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadDeleteFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadDeleteFunctionalTest.java
index b9aeb1b..72a915c 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadDeleteFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadDeleteFunctionalTest.java
@@ -45,10 +45,10 @@ public class DownloadDeleteFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("hwcloud-obs:?" +
                      "serviceKeys=#serviceKeys" +
                      "&region=" + REGION +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadFunctionalTest.java
index 345216d..eb48725 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadFunctionalTest.java
@@ -45,10 +45,10 @@ public class DownloadFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("hwcloud-obs:?" +
                      "serviceKeys=#serviceKeys" +
                      "&region=" + REGION +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadMoveExistsFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadMoveExistsFunctionalTest.java
index 799348a..45f6c20 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadMoveExistsFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadMoveExistsFunctionalTest.java
@@ -46,10 +46,10 @@ public class DownloadMoveExistsFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("hwcloud-obs:?" +
                      "serviceKeys=#serviceKeys" +
                      "&region=" + REGION +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadMoveFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadMoveFunctionalTest.java
index 4fa69fa..30f6953 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadMoveFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadMoveFunctionalTest.java
@@ -46,10 +46,10 @@ public class DownloadMoveFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("hwcloud-obs:?" +
                      "serviceKeys=#serviceKeys" +
                      "&region=" + REGION +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadSingleFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadSingleFunctionalTest.java
index 0f0321c..7d15406 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadSingleFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/DownloadSingleFunctionalTest.java
@@ -43,10 +43,10 @@ public class DownloadSingleFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("hwcloud-obs:?" +
                      "serviceKeys=#serviceKeys" +
                      "&region=" + REGION +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/GetObjectFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/GetObjectFunctionalTest.java
index 5d61865..3317485 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/GetObjectFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/GetObjectFunctionalTest.java
@@ -33,9 +33,9 @@ public class GetObjectFunctionalTest extends CamelTestSupport 
{
     private static final String SECRET_KEY = "replace_this_with_secret_key";
     private static final String REGION = "replace_this_with_region";
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:get_object")
                         .setProperty(OBSProperties.BUCKET_NAME, 
constant("reji-test"))
                         .setProperty(OBSProperties.OBJECT_NAME, 
constant("test_file.txt"))
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/GetObjectTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/GetObjectTest.java
index ac03005..97f5048 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/GetObjectTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/GetObjectTest.java
@@ -56,10 +56,10 @@ public class GetObjectTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:get_object")
                         .setProperty(OBSProperties.BUCKET_NAME, 
constant(bucketName))
                         .setProperty(OBSProperties.OBJECT_NAME, 
constant(objectName))
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListBucketsFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListBucketsFunctionalTest.java
index ac5c4f2..e1facdd 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListBucketsFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListBucketsFunctionalTest.java
@@ -32,9 +32,9 @@ public class ListBucketsFunctionalTest extends 
CamelTestSupport {
     private static final String SECRET_KEY = "replace_this_with_secret_key";
     private static final String REGION = "replace_this_with_region";
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_buckets")
                         .to("hwcloud-obs:listBuckets?" +
                             "accessKey=" + ACCESS_KEY +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListBucketsTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListBucketsTest.java
index d52c405..ded0306 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListBucketsTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListBucketsTest.java
@@ -50,10 +50,10 @@ public class ListBucketsTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_buckets")
                         .to("hwcloud-obs:listBuckets?" +
                             "accessKey=" + 
testConfiguration.getProperty("accessKey") +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsFunctionalTest.java
index 1d22c98..6f4dc14 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsFunctionalTest.java
@@ -38,10 +38,10 @@ public class ListObjectsFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_objects")
                         .setProperty("CamelHwCloudObsBucketName", 
constant(BUCKET_NAME))
                         .to("hwcloud-obs:listObjects?" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsJsonFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsJsonFunctionalTest.java
index 0417645..f7e6dca 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsJsonFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsJsonFunctionalTest.java
@@ -38,10 +38,10 @@ public class ListObjectsJsonFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_objects")
                         .to("hwcloud-obs:listObjects?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsJsonTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsJsonTest.java
index 8f35c5c..975c154 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsJsonTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsJsonTest.java
@@ -46,10 +46,10 @@ public class ListObjectsJsonTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_objects")
                         .to("hwcloud-obs:listObjects?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsMaxTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsMaxTest.java
index 14ebfcb..dcbf0f8 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsMaxTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsMaxTest.java
@@ -48,10 +48,10 @@ public class ListObjectsMaxTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_objects")
                         .setProperty("CamelHwCloudObsBucketName", 
constant(testConfiguration.getProperty("bucketName")))
                         .to("hwcloud-obs:listObjects?" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsPojoFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsPojoFunctionalTest.java
index 02cb9f6..310dafb 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsPojoFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsPojoFunctionalTest.java
@@ -39,10 +39,10 @@ public class ListObjectsPojoFunctionalTest extends 
CamelTestSupport {
     @BindToRegistry("serviceKeys")
     ServiceKeys serviceKeys = new ServiceKeys(ACCESS_KEY, SECRET_KEY);
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_objects")
                         .to("hwcloud-obs:listObjects?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsPojoTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsPojoTest.java
index 21b8c07..a1e9a8b 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsPojoTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsPojoTest.java
@@ -46,10 +46,10 @@ public class ListObjectsPojoTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_objects")
                         .to("hwcloud-obs:listObjects?" +
                             "serviceKeys=#serviceKeys" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsTest.java
index 1f8b578..320ef75 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/ListObjectsTest.java
@@ -46,10 +46,10 @@ public class ListObjectsTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:list_objects")
                         .setProperty("CamelHwCloudObsBucketName", 
constant(testConfiguration.getProperty("bucketName")))
                         .to("hwcloud-obs:listObjects?" +
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectFileFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectFileFunctionalTest.java
index 2804556..cdb8e89 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectFileFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectFileFunctionalTest.java
@@ -35,9 +35,9 @@ public class PutObjectFileFunctionalTest extends 
CamelTestSupport {
     private static final String SECRET_KEY = "replace_this_with_secret_key";
     private static final String REGION = "replace_this_with_region";
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:put_object")
                         .setBody(constant(new 
File("src/test/resources/files/test_file.txt")))
                         .setProperty(OBSProperties.BUCKET_NAME, 
constant("reji-abc"))
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectStringFunctionalTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectStringFunctionalTest.java
index 21b621f..47331b2 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectStringFunctionalTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectStringFunctionalTest.java
@@ -33,9 +33,9 @@ public class PutObjectStringFunctionalTest extends 
CamelTestSupport {
     private static final String SECRET_KEY = "replace_this_with_secret_key";
     private static final String REGION = "replace_this_with_region";
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:put_object")
                         .setBody(constant("a string payload"))
                         .setProperty(OBSProperties.BUCKET_NAME, 
constant("reji-abc"))
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectStringTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectStringTest.java
index 5a4e7f2..9d3b4db 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectStringTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectStringTest.java
@@ -51,10 +51,10 @@ public class PutObjectStringTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:put_object")
                         .setBody(constant("a test string"))
                         .setProperty(OBSProperties.OBJECT_NAME, 
constant("string_file.txt"))
diff --git 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectTest.java
 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectTest.java
index f5dc523..beb3fea 100644
--- 
a/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectTest.java
+++ 
b/components/camel-huawei/camel-huaweicloud-obs/src/test/java/org/apache/camel/component/huaweicloud/obs/PutObjectTest.java
@@ -52,10 +52,10 @@ public class PutObjectTest extends CamelTestSupport {
             testConfiguration.getProperty("accessKey"),
             testConfiguration.getProperty("secretKey"));
 
-    protected RouteBuilder createRouteBuilder() throws Exception {
+    protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
-            public void configure() throws Exception {
+            public void configure() {
                 from("direct:put_object")
                         .setBody(constant(new 
File("src/test/resources/files/test_file.txt")))
                         .setProperty(OBSProperties.BUCKET_NAME, 
constant("reji-abc"))

Reply via email to