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

Unified Diff: third_party/protobuf/csharp/src/AddressBook/SampleUsage.cs

Issue 2590803003: Revert "third_party/protobuf: Update to HEAD (83d681ee2c)" (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/protobuf/csharp/src/AddressBook/SampleUsage.cs
diff --git a/third_party/protobuf/csharp/src/AddressBook/SampleUsage.cs b/third_party/protobuf/csharp/src/AddressBook/SampleUsage.cs
index b4ab8d8f36f964f41cd46b34952cee17804c7afe..aad7d700278a80712d43b7436f52ecd80b1f1cc7 100644
--- a/third_party/protobuf/csharp/src/AddressBook/SampleUsage.cs
+++ b/third_party/protobuf/csharp/src/AddressBook/SampleUsage.cs
@@ -66,7 +66,7 @@ namespace Google.Protobuf.Examples.AddressBook
// The message performs a deep-comparison on equality:
if (restored.People.Count != 1 || !person.Equals(restored.People[0]))
{
- throw new Exception("There is a bad person in here!");
+ throw new ApplicationException("There is a bad person in here!");
}
}
}

Powered by Google App Engine
This is Rietveld 408576698