• 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 ohos.global.icu.util;
11 
12 /**
13  * Unchecked version of {@link CloneNotSupportedException}.
14  * Some ICU APIs do not throw the standard exception but instead wrap it
15  * into this unchecked version.
16  *
17  * @hide exposed on OHOS
18  */
19 public class ICUCloneNotSupportedException extends ICUException {
20     private static final long serialVersionUID = -4824446458488194964L;
21 
22     /**
23      * Default constructor.
24      */
ICUCloneNotSupportedException()25     public ICUCloneNotSupportedException() {
26     }
27 
28     /**
29      * Constructor.
30      *
31      * @param message exception message string
32      */
ICUCloneNotSupportedException(String message)33     public ICUCloneNotSupportedException(String message) {
34         super(message);
35     }
36 
37     /**
38      * Constructor.
39      *
40      * @param cause original exception (normally a {@link CloneNotSupportedException})
41      */
ICUCloneNotSupportedException(Throwable cause)42     public ICUCloneNotSupportedException(Throwable cause) {
43         super(cause);
44     }
45 
46     /**
47      * Constructor.
48      *
49      * @param message exception message string
50      * @param cause original exception (normally a {@link CloneNotSupportedException})
51      */
ICUCloneNotSupportedException(String message, Throwable cause)52     public ICUCloneNotSupportedException(String message, Throwable cause) {
53         super(message, cause);
54     }
55 }
56