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); |
+ } |
+ |
+} |