| org.apache.commons.httpclient.HttpException org.apache.commons.httpclient.ProtocolException
All known Subclasses: org.apache.commons.httpclient.auth.AuthenticationException, org.apache.commons.httpclient.cookie.MalformedCookieException, org.apache.commons.httpclient.auth.MalformedChallengeException, org.apache.commons.httpclient.RedirectException,
ProtocolException | public class ProtocolException extends HttpException (Code) | | Signals that an HTTP protocol violation has occurred. For example, HttpClient
detected a malformed status line or headers, a missing message body, etc.
author: Laura Werner since: 3.0 |
ProtocolException | public ProtocolException()(Code) | | Creates a new ProtocolException with a null detail message.
|
ProtocolException | public ProtocolException(String message)(Code) | | Creates a new ProtocolException with the specified detail message.
Parameters: message - The exception detail message |
ProtocolException | public ProtocolException(String message, Throwable cause)(Code) | | Creates a new ProtocolException with the specified detail message and cause.
Parameters: message - the exception detail message Parameters: cause - the Throwable that caused this exception, or nullif the cause is unavailable, unknown, or not a Throwable |
|
|