camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregv...@apache.org
Subject camel git commit: CAMEL-11202 Salesforce verifier should not thro...
Date Wed, 26 Apr 2017 10:45:21 GMT
Repository: camel
Updated Branches:
  refs/heads/master 77c234ad7 -> 0fd83d7ba


CAMEL-11202 Salesforce verifier should not thro...

...w exceptions

This just removes the `throw RuntimeException`.


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

Branch: refs/heads/master
Commit: 0fd83d7ba8fb98e4fd2e42fea31de5a2b2d1bd45
Parents: 77c234a
Author: Zoran Regvart <zregvart@apache.org>
Authored: Wed Apr 26 12:45:18 2017 +0200
Committer: Zoran Regvart <zregvart@apache.org>
Committed: Wed Apr 26 12:45:18 2017 +0200

----------------------------------------------------------------------
 .../camel/component/salesforce/SalesforceComponentVerifier.java    | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0fd83d7b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifier.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifier.java
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifier.java
index 67ed24f..0229ccb 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifier.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceComponentVerifier.java
@@ -128,8 +128,6 @@ public class SalesforceComponentVerifier extends DefaultComponentVerifier
{
             builder.error(
                 ResultErrorBuilder.withException(e).build()
             );
-
-            throw new RuntimeException(e);
         }
 
         return builder.build();


Mime
View raw message