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:
java.io.Serializable
public class ParseException extends java.lang.RuntimeExceptionSignals a parse error. Parse errors when receiving a message will typically triggerProtocolException. 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParseException()Creates aParseExceptionwithout details.ParseException(java.lang.String message)Creates aParseExceptionwith a detail message.
-
-
-
Constructor Detail
-
ParseException
public ParseException()
Creates aParseExceptionwithout details.
-
ParseException
public ParseException(java.lang.String message)
Creates aParseExceptionwith a detail message.- Parameters:
message- the exception detail message, ornull
-
-