Commit 089aaa99 authored by Msp's avatar Msp

Fix message for InvalidProtocolBufferException

parent 7bd11fcb
...@@ -61,7 +61,7 @@ namespace Google.Protobuf ...@@ -61,7 +61,7 @@ namespace Google.Protobuf
{ {
return new InvalidProtocolBufferException( return new InvalidProtocolBufferException(
"While parsing a protocol message, the input ended unexpectedly " + "While parsing a protocol message, the input ended unexpectedly " +
"in the middle of a field. This could mean either than the " + "in the middle of a field. This could mean either that the " +
"input has been truncated or that an embedded message " + "input has been truncated or that an embedded message " +
"misreported its own length."); "misreported its own length.");
} }
......
...@@ -48,7 +48,7 @@ public class InvalidProtocolBufferNanoException extends IOException { ...@@ -48,7 +48,7 @@ public class InvalidProtocolBufferNanoException extends IOException {
static InvalidProtocolBufferNanoException truncatedMessage() { static InvalidProtocolBufferNanoException truncatedMessage() {
return new InvalidProtocolBufferNanoException( return new InvalidProtocolBufferNanoException(
"While parsing a protocol message, the input ended unexpectedly " + "While parsing a protocol message, the input ended unexpectedly " +
"in the middle of a field. This could mean either than the " + "in the middle of a field. This could mean either that the " +
"input has been truncated or that an embedded message " + "input has been truncated or that an embedded message " +
"misreported its own length."); "misreported its own length.");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment