aboutsummaryrefslogtreecommitdiff
path: root/src/com/ibm/icu/util/ICUException.java
blob: e37a97bdb3c2e8b7699c419efa83ea1398f651bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
 *******************************************************************************
 * Copyright (C) 2014, International Business Machines Corporation and
 * others. All Rights Reserved.
 *******************************************************************************
 */
package com.ibm.icu.util;

/**
 * Base class for unchecked, ICU-specific exceptions.
 *
 * @draft ICU 53
 * @provisional This API might change or be removed in a future release.
 */
public class ICUException extends RuntimeException {
    private static final long serialVersionUID = -3067399656455755650L;

    /**
     * Default constructor.
     *
     * @draft ICU 53
     * @provisional This API might change or be removed in a future release.
     */
    public ICUException() {
    }

    /**
     * Constructor.
     *
     * @param message exception message string
     * @draft ICU 53
     * @provisional This API might change or be removed in a future release.
     */
    public ICUException(String message) {
        super(message);
    }

    /**
     * Constructor.
     *
     * @param cause original exception
     * @draft ICU 53
     * @provisional This API might change or be removed in a future release.
     */
    public ICUException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructor.
     *
     * @param message exception message string
     * @param cause original exception
     * @draft ICU 53
     * @provisional This API might change or be removed in a future release.
     */
    public ICUException(String message, Throwable cause) {
        super(message, cause);
    }
}