35 lines
1011 B
Java
35 lines
1011 B
Java
/* GENERATED SOURCE. DO NOT MODIFY. */
|
|
// © 2024 and later: Unicode, Inc. and others.
|
|
// License & terms of use: https://www.unicode.org/copyright.html
|
|
|
|
package android.icu.message2;
|
|
|
|
import java.text.ParseException;
|
|
|
|
/**
|
|
* Used to report parsing errors in {@link MessageFormatter}.
|
|
*
|
|
* @deprecated This API is for technology preview only.
|
|
* @hide Only a subset of ICU is exposed in Android
|
|
* @hide draft / provisional / internal are hidden on Android
|
|
*/
|
|
@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();
|
|
}
|
|
}
|