Merge pull request #2330 from manupsunny/master
Fix message for InvalidProtocolBufferException
This commit is contained in:
commit
ca800ea823
@ -61,7 +61,7 @@ namespace Google.Protobuf
|
||||
{
|
||||
return new InvalidProtocolBufferException(
|
||||
"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 " +
|
||||
"misreported its own length.");
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ public class InvalidProtocolBufferNanoException extends IOException {
|
||||
static InvalidProtocolBufferNanoException truncatedMessage() {
|
||||
return new InvalidProtocolBufferNanoException(
|
||||
"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 " +
|
||||
"misreported its own length.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user