• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GENERATED SOURCE. DO NOT MODIFY. */
2 // © 2016 and later: Unicode, Inc. and others.
3 // License & terms of use: http://www.unicode.org/copyright.html#License
4 /*
5  *******************************************************************************
6  * Copyright (C) 2014-2015, International Business Machines Corporation and
7  * others. All Rights Reserved.
8  *******************************************************************************
9  */
10 package android.icu.util;
11 
12 /**
13  * Base class for unchecked, ICU-specific exceptions.
14  *
15  * @hide Only a subset of ICU is exposed in Android
16  */
17 public class ICUException extends RuntimeException {
18     private static final long serialVersionUID = -3067399656455755650L;
19 
20     /**
21      * Default constructor.
22      */
ICUException()23     public ICUException() {
24     }
25 
26     /**
27      * Constructor.
28      *
29      * @param message exception message string
30      */
ICUException(String message)31     public ICUException(String message) {
32         super(message);
33     }
34 
35     /**
36      * Constructor.
37      *
38      * @param cause original exception
39      */
ICUException(Throwable cause)40     public ICUException(Throwable cause) {
41         super(cause);
42     }
43 
44     /**
45      * Constructor.
46      *
47      * @param message exception message string
48      * @param cause original exception
49      */
ICUException(String message, Throwable cause)50     public ICUException(String message, Throwable cause) {
51         super(message, cause);
52     }
53 }
54