1 /*
2  *******************************************************************************
3  * Copyright (C) 2014-2015, International Business Machines Corporation and
4  * others. All Rights Reserved.
5  *******************************************************************************
6  */
7 package com.ibm.icu.util;
8 
9 /**
10  * Unchecked version of {@link CloneNotSupportedException}.
11  * Some ICU APIs do not throw the standard exception but instead wrap it
12  * into this unchecked version.
13  *
14  * @stable ICU 53
15  */
16 public class ICUCloneNotSupportedException extends ICUException {
17     private static final long serialVersionUID = -4824446458488194964L;
18 
19     /**
20      * Default constructor.
21      *
22      * @stable ICU 53
23      */
ICUCloneNotSupportedException()24     public ICUCloneNotSupportedException() {
25     }
26 
27     /**
28      * Constructor.
29      *
30      * @param message exception message string
31      * @stable ICU 53
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      * @stable ICU 53
42      */
ICUCloneNotSupportedException(Throwable cause)43     public ICUCloneNotSupportedException(Throwable cause) {
44         super(cause);
45     }
46 
47     /**
48      * Constructor.
49      *
50      * @param message exception message string
51      * @param cause original exception (normally a {@link CloneNotSupportedException})
52      * @stable ICU 53
53      */
ICUCloneNotSupportedException(String message, Throwable cause)54     public ICUCloneNotSupportedException(String message, Throwable cause) {
55         super(message, cause);
56     }
57 }
58