Android
org.apache.http
public class

org.apache.http.ProtocolException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
org.apache.http.HttpException
org.apache.http.ProtocolException

Signals that an HTTP protocol violation has occurred. For example a malformed status line or headers, a missing message body, etc.

Known Direct Subclasses
Known Indirect Subclasses

Summary

Public Constructors

            ProtocolException()
Creates a new ProtocolException with a null detail message.
            ProtocolException(String message)
Creates a new ProtocolException with the specified detail message.
            ProtocolException(String message, Throwable cause)
Creates a new ProtocolException with the specified detail message and cause.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public ProtocolException()

Creates a new ProtocolException with a null detail message.

public ProtocolException(String message)

Creates a new ProtocolException with the specified detail message.

Parameters

message The exception detail message

public ProtocolException(String message, Throwable cause)

Creates a new ProtocolException with the specified detail message and cause.

Parameters

message the exception detail message
cause the Throwable that caused this exception, or null if the cause is unavailable, unknown, or not a Throwable
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48