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

Unified Diff: mojo/bindings/java/src/org/chromium/mojo/bindings/DeserializationException.java

Issue 317273006: Add serialization/deserialization of structs for mojo java bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Follow review Created 6 years, 6 months 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: mojo/bindings/java/src/org/chromium/mojo/bindings/DeserializationException.java
diff --git a/mojo/bindings/java/src/org/chromium/mojo/bindings/DeserializationException.java b/mojo/bindings/java/src/org/chromium/mojo/bindings/DeserializationException.java
new file mode 100644
index 0000000000000000000000000000000000000000..fe82f796eb0e4cead92421b45929ef0e52824f38
--- /dev/null
+++ b/mojo/bindings/java/src/org/chromium/mojo/bindings/DeserializationException.java
@@ -0,0 +1,26 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.mojo.bindings;
+
+/**
+ * Error when deserializing a mojo archive.
rmcilroy 2014/06/25 13:14:39 "archive" doesn't seem to be a name used to descri
qsr 2014/06/25 14:43:04 Archive is the name we use in the public documenta
+ */
+public class DeserializationException extends RuntimeException {
+
+ /**
+ * Constructor.
rmcilroy 2014/06/25 13:14:39 More informative javadoc would be nice.
qsr 2014/06/25 14:43:04 Done.
+ */
+ public DeserializationException(String message) {
+ super(message);
+ }
+
+ /**
+ * Constructor.
rmcilroy 2014/06/25 13:14:38 ditto
qsr 2014/06/25 14:43:04 Done.
+ */
+ public DeserializationException(Exception exception) {
+ super(exception);
+ }
+
+}

Powered by Google App Engine
This is Rietveld 408576698