Package org.apache.http
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.http.ParseException
- All Implemented Interfaces:
Serializable
Signals a parse error.
Parse errors when receiving a message will typically trigger
ProtocolException
. Parse errors that do not occur during
protocol execution may be handled differently.
This is an unchecked exception, since there are cases where
the data to be parsed has been generated and is therefore
known to be parseable.- Since:
- 4.0
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates aParseException
without details.ParseException
(String message) Creates aParseException
with a detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ParseException
public ParseException()Creates aParseException
without details. -
ParseException
Creates aParseException
with a detail message.- Parameters:
message
- the exception detail message, ornull
-