[Rprotobuf-commits] r737 - pkg/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Fri Jan 10 19:45:18 CET 2014
Author: murray
Date: 2014-01-10 19:45:17 +0100 (Fri, 10 Jan 2014)
New Revision: 737
Modified:
pkg/src/wrapper_Descriptor.cpp
Log:
Move more specific help text to correct if branch. Noticed by Karl in code review.
Modified: pkg/src/wrapper_Descriptor.cpp
===================================================================
--- pkg/src/wrapper_Descriptor.cpp 2014-01-09 21:42:55 UTC (rev 736)
+++ pkg/src/wrapper_Descriptor.cpp 2014-01-10 18:45:17 UTC (rev 737)
@@ -183,15 +183,15 @@
if (parser.ParseFromString(input, message)) {
return (S4_Message(message));
} else {
- throw std::range_error("Could not parse ASCII protocol buffer from text string."
- " Consider setting partial=TRUE");
+ throw std::range_error("Could not parse ASCII protocol buffer from text string.");
}
} else {
// Default parser requires fully initialized ascii messages.
if (GPB::TextFormat::ParseFromString(input, message)) {
return (S4_Message(message));
} else {
- throw std::range_error("Could not parse ASCII protocol buffer from text string.");
+ throw std::range_error("Could not parse ASCII protocol buffer from text string."
+ " Consider setting partial=TRUE");
}
}
}
More information about the Rprotobuf-commits
mailing list