/*
*******************************************************************************
- * Copyright (C) 2009-2010, International Business Machines Corporation and *
+ * Copyright (C) 2009-2012, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
* indicate that an argument is not a well-formed BCP 47 tag.
*
* @see ULocale
- * @draft ICU 4.2
- * @provisional This API might change or be removed in a future release.
+ * @stable ICU 4.2
*/
public class IllformedLocaleException extends RuntimeException {
/**
* Constructs a new <code>IllformedLocaleException</code> with no
* detail message and -1 as the error index.
- * @draft ICU 4.6
- * @provisional This API might change or be removed in a future release.
+ * @stable ICU 4.6
*/
public IllformedLocaleException() {
super();
* given message and -1 as the error index.
*
* @param message the message
- * @draft ICU 4.2
- * @provisional This API might change or be removed in a future release.
+ * @stable ICU 4.2
*/
public IllformedLocaleException(String message) {
super(message);
*
* @param message the message
* @param errorIndex the index
- * @draft ICU 4.2
- * @provisional This API might change or be removed in a future release.
+ * @stable ICU 4.2
*/
public IllformedLocaleException(String message, int errorIndex) {
super(message + ((errorIndex < 0) ? "" : " [at index " + errorIndex + "]"));
* either the error index is not applicable or unknown.
*
* @return the error index
- * @draft ICU 4.2
- * @provisional This API might change or be removed in a future release.
+ * @stable ICU 4.2
*/
public int getErrorIndex() {
return _errIdx;