FileDocCategorySizeDatePackage
ProtocolException.javaAPI DocAndroid 1.5 API2599Wed May 06 22:41:10 BST 2009org.apache.http

ProtocolException

public class ProtocolException extends HttpException
Signals that an HTTP protocol violation has occurred. For example a malformed status line or headers, a missing message body, etc.
author
Laura Werner
since
4.0

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public ProtocolException()
Creates a new ProtocolException with a null detail message.

    
                   
      
        super();
    
public ProtocolException(String message)
Creates a new ProtocolException with the specified detail message.

param
message The exception detail message

        super(message);
    
public ProtocolException(String message, Throwable cause)
Creates a new ProtocolException with the specified detail message and cause.

param
message the exception detail message
param
cause the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable

        super(message, cause);
    
Methods Summary