Android APIs
Added in API level 1
Deprecated since API level 22
public class

NoHttpResponseException

extends IOException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.io.IOException
         ↳ org.apache.http.NoHttpResponseException

This class was deprecated in API level 22.
Please use openConnection() instead. Please visit this webpage for further details.

Class Overview

Signals that the target server failed to respond with a valid HTTP response.

Summary

Public Constructors
NoHttpResponseException(String message)
Creates a new NoHttpResponseException with the specified detail message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NoHttpResponseException (String message)

Added in API level 1

Creates a new NoHttpResponseException with the specified detail message.

Parameters
message exception message