Index: mojo/public/java/bindings/src/org/chromium/mojo/bindings/SerializationException.java |
diff --git a/mojo/public/java/bindings/src/org/chromium/mojo/bindings/SerializationException.java b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/SerializationException.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..af0fa624c76ab825039da046e50aa5c162fdaf0e |
--- /dev/null |
+++ b/mojo/public/java/bindings/src/org/chromium/mojo/bindings/SerializationException.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 serializing a mojo message. |
ppi
2014/08/29 15:23:45
nit: "Error that can be thrown when..."
qsr
2014/08/29 16:24:11
Done.
|
+ */ |
+public class SerializationException extends RuntimeException { |
+ |
+ /** |
+ * Constructs a new serialization exception with the specified detail message. |
+ */ |
+ public SerializationException(String message) { |
+ super(message); |
+ } |
+ |
+ /** |
+ * Constructs a new serialization exception with the specified cause. |
+ */ |
+ public SerializationException(Exception cause) { |
+ super(cause); |
+ } |
+ |
+} |