public class ParseException extends ProtocolException
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
int |
getErrorOffset() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toString
public ParseException()
ParseException
without details.public ParseException(String message)
ParseException
with a detail message.message
- the exception detail message, or null
public ParseException(String description, CharSequence text, int off, int len)
ParseException
with parsing context details.public ParseException(String description, CharSequence text, int off, int len, int errorOffset)
ParseException
with parsing context details.