1 /* 2 ******************************************************************************* 3 * Copyright (C) 2014, 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 * @draft ICU 53 15 * @provisional This API might change or be removed in a future release. 16 */ 17 public class ICUCloneNotSupportedException extends ICUException { 18 private static final long serialVersionUID = -4824446458488194964L; 19 20 /** 21 * Default constructor. 22 * 23 * @draft ICU 53 24 * @provisional This API might change or be removed in a future release. 25 */ 26 public ICUCloneNotSupportedException() { 27 } 28 29 /** 30 * Constructor. 31 * 32 * @param message exception message string 33 * @draft ICU 53 34 * @provisional This API might change or be removed in a future release. 35 */ 36 public ICUCloneNotSupportedException(String message) { 37 super(message); 38 } 39 40 /** 41 * Constructor. 42 * 43 * @param cause original exception (normally a {@link CloneNotSupportedException}) 44 * @draft ICU 53 45 * @provisional This API might change or be removed in a future release. 46 */ 47 public ICUCloneNotSupportedException(Throwable cause) { 48 super(cause); 49 } 50 51 /** 52 * Constructor. 53 * 54 * @param message exception message string 55 * @param cause original exception (normally a {@link CloneNotSupportedException}) 56 * @draft ICU 53 57 * @provisional This API might change or be removed in a future release. 58 */ 59 public ICUCloneNotSupportedException(String message, Throwable cause) { 60 super(message, cause); 61 } 62 } 63