| 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..eeb511c52070e6a0a1e2adb81bfd8f5d9340a60c
|
| --- /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 message.
|
| + */
|
| +public class DeserializationException extends RuntimeException {
|
| +
|
| + /**
|
| + * Constructs a new deserialization exception with the specified detail message.
|
| + */
|
| + public DeserializationException(String message) {
|
| + super(message);
|
| + }
|
| +
|
| + /**
|
| + * Constructs a new deserialization exception with the specified cause.
|
| + */
|
| + public DeserializationException(Exception cause) {
|
| + super(cause);
|
| + }
|
| +
|
| +}
|
|
|