public class ParseException extends ProtocolException
| 构造器和说明 |
|---|
ParseException()
Creates a
ParseException without details. |
ParseException(String message)
Creates a
ParseException with a detail message. |
ParseException(String description,
CharSequence text,
int off,
int len)
Creates a
ParseException with parsing context details. |
ParseException(String description,
CharSequence text,
int off,
int len,
int errorOffset)
Creates a
ParseException with parsing context details. |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getErrorOffset() |
public ParseException()
ParseException without details.public ParseException(String message)
ParseException with a detail message.message - the exception detail message, or nullpublic ParseException(String description, CharSequence text, int off, int len, int errorOffset)
ParseException with parsing context details.public ParseException(String description, CharSequence text, int off, int len)
ParseException with parsing context details.Copyright © 2023. All rights reserved.