public class ParseException extends 异常
异常,
Format,
FieldPosition,
Serialized Form
| Constructor and Description |
|---|
ParseException(String s, int errorOffset)
创建一个指定详细信息ParseException和偏移。
|
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorOffset()
返回错误被发现的位置。
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ParseException(String s, int errorOffset)
s -详细信息
errorOffset -位置误差分析时发现。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.