camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhira...@apache.org
Subject [31/35] git commit: Fixed error message on invalid endpoint URI
Date Tue, 10 Jun 2014 19:51:59 GMT
Fixed error message on invalid endpoint URI


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

Branch: refs/heads/master
Commit: 4b079790b03ee702bf04ef07c0e8367a1fbbc46e
Parents: e309bf8
Author: Dhiraj Bokde <dhirajsb@yahoo.com>
Authored: Thu Jun 5 11:59:00 2014 -0700
Committer: Dhiraj Bokde <dhirajsb@yahoo.com>
Committed: Tue Jun 10 12:48:35 2014 -0700

----------------------------------------------------------------------
 .../__artifactId__-component/src/main/java/__name__Component.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4b079790/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/src/main/java/__name__Component.java
----------------------------------------------------------------------
diff --git a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/src/main/java/__name__Component.java
b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/src/main/java/__name__Component.java
index d249203..6694b4e 100644
--- a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/src/main/java/__name__Component.java
+++ b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/src/main/java/__name__Component.java
@@ -72,7 +72,7 @@ public class ${name}Component extends UriEndpointComponent {
         try {
             apiName = ${name}ApiName.fromValue(apiNameStr);
         } catch (IllegalArgumentException e) {
-            throw new CamelException("Invalid URI path [" + apiNameStr +
+            throw new CamelException("Invalid URI path prefix [" + remaining +
                 "], must be one of " + collection.getApiNames());
         }
 


Mime
View raw message