diff options
author | Jon Skeet <jonskeet@google.com> | 2015-08-06 11:40:43 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-08-06 11:40:43 +0100 |
commit | 5bdc57292f2a21706ff1dab21652fb8e1f058eb7 (patch) | |
tree | c313720a0b955c6d24f68a3a3d770c0a3eb0f556 /csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs | |
parent | e7f88ff1294ada0fca19334ed2c844cdb98ea2f6 (diff) | |
download | protobuf-5bdc57292f2a21706ff1dab21652fb8e1f058eb7.tar.gz protobuf-5bdc57292f2a21706ff1dab21652fb8e1f058eb7.tar.bz2 protobuf-5bdc57292f2a21706ff1dab21652fb8e1f058eb7.zip |
Generated code for previous commit.
Diffstat (limited to 'csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs b/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs index 6905a6a3..01d55395 100644 --- a/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs +++ b/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs @@ -45,6 +45,12 @@ namespace Google.Protobuf {
}
+ internal static InvalidProtocolBufferException MoreDataAvailable()
+ {
+ return new InvalidProtocolBufferException(
+ "Completed reading a message while more data was available in the stream.");
+ }
+
internal static InvalidProtocolBufferException TruncatedMessage()
{
return new InvalidProtocolBufferException(
|