1 // © 2016 and later: Unicode, Inc. and others. 2 // License & terms of use: http://www.unicode.org/copyright.html#License 3 /* 4 ******************************************************************************* 5 * Copyright (C) 2014-2015, International Business Machines Corporation and 6 * others. All Rights Reserved. 7 ******************************************************************************* 8 */ 9 package com.ibm.icu.util; 10 11 /** 12 * Unchecked version of {@link CloneNotSupportedException}. 13 * Some ICU APIs do not throw the standard exception but instead wrap it 14 * into this unchecked version. 15 * 16 * @stable ICU 53 17 */ 18 public class ICUCloneNotSupportedException extends ICUException { 19 private static final long serialVersionUID = -4824446458488194964L; 20 21 /** 22 * Default constructor. 23 * 24 * @stable ICU 53 25 */ ICUCloneNotSupportedException()26 public ICUCloneNotSupportedException() { 27 } 28 29 /** 30 * Constructor. 31 * 32 * @param message exception message string 33 * @stable ICU 53 34 */ ICUCloneNotSupportedException(String message)35 public ICUCloneNotSupportedException(String message) { 36 super(message); 37 } 38 39 /** 40 * Constructor. 41 * 42 * @param cause original exception (normally a {@link CloneNotSupportedException}) 43 * @stable ICU 53 44 */ ICUCloneNotSupportedException(Throwable cause)45 public ICUCloneNotSupportedException(Throwable cause) { 46 super(cause); 47 } 48 49 /** 50 * Constructor. 51 * 52 * @param message exception message string 53 * @param cause original exception (normally a {@link CloneNotSupportedException}) 54 * @stable ICU 53 55 */ ICUCloneNotSupportedException(String message, Throwable cause)56 public ICUCloneNotSupportedException(String message, Throwable cause) { 57 super(message, cause); 58 } 59 } 60