• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 package org.chromium.mojo.bindings;
6 
7 /**
8  * Error that can be thrown when serializing a mojo message.
9  */
10 public class SerializationException extends RuntimeException {
11 
12     /**
13      * Constructs a new serialization exception with the specified detail message.
14      */
SerializationException(String message)15     public SerializationException(String message) {
16         super(message);
17     }
18 
19     /**
20      * Constructs a new serialization exception with the specified cause.
21      */
SerializationException(Exception cause)22     public SerializationException(Exception cause) {
23         super(cause);
24     }
25 
26 }
27