You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2010/02/09 09:03:31 UTC
svn commit: r907953 -
/camel/trunk/components/camel-protobuf/src/main/java/org/apache/camel/dataformat/protobuf/ProtobufDataFormat.java
Author: ningjiang
Date: Tue Feb 9 08:03:30 2010
New Revision: 907953
URL: http://svn.apache.org/viewvc?rev=907953&view=rev
Log:
Updated the exception message of camel-protobuf
Modified:
camel/trunk/components/camel-protobuf/src/main/java/org/apache/camel/dataformat/protobuf/ProtobufDataFormat.java
Modified: camel/trunk/components/camel-protobuf/src/main/java/org/apache/camel/dataformat/protobuf/ProtobufDataFormat.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-protobuf/src/main/java/org/apache/camel/dataformat/protobuf/ProtobufDataFormat.java?rev=907953&r1=907952&r2=907953&view=diff
==============================================================================
--- camel/trunk/components/camel-protobuf/src/main/java/org/apache/camel/dataformat/protobuf/ProtobufDataFormat.java (original)
+++ camel/trunk/components/camel-protobuf/src/main/java/org/apache/camel/dataformat/protobuf/ProtobufDataFormat.java Tue Feb 9 08:03:30 2010
@@ -57,7 +57,7 @@
if (instance instanceof Message) {
this.defaultInstance = (Message) instance;
} else {
- throw new IllegalArgumentException("The instance should be subClass of com.google.protobuf.Message");
+ throw new IllegalArgumentException("The argument for setDefaultInstance should be subClass of com.google.protobuf.Message");
}
}