Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(517)

Side by Side Diff: third_party/protobuf/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Make chrome settings proto generated file a component Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #region Copyright notice and license 1 #region Copyright notice and license
2 // Protocol Buffers - Google's data interchange format 2 // Protocol Buffers - Google's data interchange format
3 // Copyright 2008 Google Inc. All rights reserved. 3 // Copyright 2008 Google Inc. All rights reserved.
4 // https://developers.google.com/protocol-buffers/ 4 // https://developers.google.com/protocol-buffers/
5 // 5 //
6 // Redistribution and use in source and binary forms, with or without 6 // Redistribution and use in source and binary forms, with or without
7 // modification, are permitted provided that the following conditions are 7 // modification, are permitted provided that the following conditions are
8 // met: 8 // met:
9 // 9 //
10 // * Redistributions of source code must retain the above copyright 10 // * Redistributions of source code must retain the above copyright
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 internal static InvalidProtocolBufferException MoreDataAvailable() 54 internal static InvalidProtocolBufferException MoreDataAvailable()
55 { 55 {
56 return new InvalidProtocolBufferException( 56 return new InvalidProtocolBufferException(
57 "Completed reading a message while more data was available in th e stream."); 57 "Completed reading a message while more data was available in th e stream.");
58 } 58 }
59 59
60 internal static InvalidProtocolBufferException TruncatedMessage() 60 internal static InvalidProtocolBufferException TruncatedMessage()
61 { 61 {
62 return new InvalidProtocolBufferException( 62 return new InvalidProtocolBufferException(
63 "While parsing a protocol message, the input ended unexpectedly " + 63 "While parsing a protocol message, the input ended unexpectedly " +
64 "in the middle of a field. This could mean either than the " + 64 "in the middle of a field. This could mean either that the " +
65 "input has been truncated or that an embedded message " + 65 "input has been truncated or that an embedded message " +
66 "misreported its own length."); 66 "misreported its own length.");
67 } 67 }
68 68
69 internal static InvalidProtocolBufferException NegativeSize() 69 internal static InvalidProtocolBufferException NegativeSize()
70 { 70 {
71 return new InvalidProtocolBufferException( 71 return new InvalidProtocolBufferException(
72 "CodedInputStream encountered an embedded string or message " + 72 "CodedInputStream encountered an embedded string or message " +
73 "which claimed to have negative size."); 73 "which claimed to have negative size.");
74 } 74 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 "Use CodedInputStream.SetSizeLimit() to increase the size limit. "); 120 "Use CodedInputStream.SetSizeLimit() to increase the size limit. ");
121 } 121 }
122 122
123 internal static InvalidProtocolBufferException InvalidMessageStreamTag() 123 internal static InvalidProtocolBufferException InvalidMessageStreamTag()
124 { 124 {
125 return new InvalidProtocolBufferException( 125 return new InvalidProtocolBufferException(
126 "Stream of protocol messages had invalid tag. Expected tag is le ngth-delimited field 1."); 126 "Stream of protocol messages had invalid tag. Expected tag is le ngth-delimited field 1.");
127 } 127 }
128 } 128 }
129 } 129 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698