2 *******************************************************************************
\r
3 * Copyright (C) 2009, International Business Machines Corporation and *
\r
4 * others. All Rights Reserved. *
\r
5 *******************************************************************************
\r
7 package com.ibm.icu.impl.locale;
\r
9 public class LocaleSyntaxException extends Exception {
\r
11 private static final long serialVersionUID = 1L;
\r
13 private int _index = -1;
\r
15 public LocaleSyntaxException(String msg) {
\r
19 public LocaleSyntaxException(String msg, int errorIndex) {
\r
21 _index = errorIndex;
\r
24 public int getErrorIndex() {
\r