public class ParseException extends ProtocolException
Constructor and Description |
---|
ParseException()
Constructs a new
ParseException without details. |
ParseException(String message)
Constructs a new
ParseException with a detail message. |
ParseException(String description,
CharSequence text,
int off,
int len)
Constructs a new
ParseException with parsing context details. |
ParseException(String description,
CharSequence text,
int off,
int len,
int errorOffset)
Constructs a new
ParseException with parsing context details. |
Modifier and Type | Method and Description |
---|---|
int |
getErrorOffset() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, 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, int errorOffset)
ParseException
with parsing context details.public ParseException(String description, CharSequence text, int off, int len)
ParseException
with parsing context details.Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.