Remove unneeded exception methods

This commit is contained in:
Chris Bacon 2019-11-05 11:37:30 +00:00
parent 2ac8946ee3
commit d22eaded5c

View File

@ -136,20 +136,5 @@ namespace Google.Protobuf
{ {
return new InvalidProtocolBufferException("Message was missing required fields"); return new InvalidProtocolBufferException("Message was missing required fields");
} }
internal static InvalidProtocolBufferException InvalidWrapperMessageLength()
{
return new InvalidProtocolBufferException("Wrapper type message length is incorrect.");
}
internal static InvalidProtocolBufferException InvalidWrapperMessageTag()
{
return new InvalidProtocolBufferException("Wrapper type message tag is incorrect.");
}
internal static InvalidProtocolBufferException InvalidWrapperMessageExtraFields()
{
return new InvalidProtocolBufferException("Wrapper type message contains invalid extra field(s).");
}
} }
} }