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 * Base class for unchecked, ICU-specific exceptions. 11 * 12 * @stable ICU 53 13 */ 14 public class ICUException extends RuntimeException { 15 private static final long serialVersionUID = -3067399656455755650L; 16 17 /** 18 * Default constructor. 19 * 20 * @stable ICU 53 21 */ ICUException()22 public ICUException() { 23 } 24 25 /** 26 * Constructor. 27 * 28 * @param message exception message string 29 * @stable ICU 53 30 */ ICUException(String message)31 public ICUException(String message) { 32 super(message); 33 } 34 35 /** 36 * Constructor. 37 * 38 * @param cause original exception 39 * @stable ICU 53 40 */ ICUException(Throwable cause)41 public ICUException(Throwable cause) { 42 super(cause); 43 } 44 45 /** 46 * Constructor. 47 * 48 * @param message exception message string 49 * @param cause original exception 50 * @stable ICU 53 51 */ ICUException(String message, Throwable cause)52 public ICUException(String message, Throwable cause) { 53 super(message, cause); 54 } 55 } 56