public class IllformedLocaleException extends IllegalArgumentException
Constructor and Description |
---|
IllformedLocaleException(String msg)
Constructs a new
IllformedLocaleException with
the detail message. |
IllformedLocaleException(String msg,
int errIdx)
Constructs a new
IllformedLocaleException with
the detail message and the error index. |
Modifier and Type | Method and Description |
---|---|
int |
getErrorIndex()
Returns the index where the error is found in a locale string
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllformedLocaleException(String msg)
IllformedLocaleException
with
the detail message.msg
- the detail messagepublic IllformedLocaleException(String msg, int errIdx)
IllformedLocaleException
with
the detail message and the error index.msg
- the detail messageerrIdx
- the index where the error is found in a locale stringCopyright (c) 2011 IBM Corporation and others.