summaryrefslogtreecommitdiff
path: root/icu4j/main/core/src/main/java/com/ibm/icu/message2/MFParseException.java
blob: 9174295f36d09f1890653ad42225e9e276521168 (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
// © 2024 and later: Unicode, Inc. and others.
// License & terms of use: https://www.unicode.org/copyright.html

package com.ibm.icu.message2;

import java.text.ParseException;

/**
 * Used to report parsing errors in {@link MessageFormatter}.
 *
 * @internal ICU 75 technology preview
 * @deprecated This API is for technology preview only.
 */
@Deprecated
public class MFParseException extends ParseException {
    private static final long serialVersionUID = -7634219305388292407L;

    /**
     * Constructs a MFParseException with the specified message and offset.
     *
     * @param message the message
     * @param errorOffset the position where the error is found while parsing.
     */
    public MFParseException(String message, int errorOffset) {
        super(message, errorOffset);
    }

    @Override
    public String getMessage() {
        return super.getMessage();
    }
}