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

UnsupportedHttpVersionException

extends ProtocolException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.apache.http.HttpException
         ↳ org.apache.http.ProtocolException
           ↳ org.apache.http.UnsupportedHttpVersionException

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

Class Overview

Indicates an unsupported version of the HTTP protocol.

Summary

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

Public Constructors

public UnsupportedHttpVersionException ()

Added in API level 1

Creates an exception without a detail message.

public UnsupportedHttpVersionException (String message)

Added in API level 1

Creates an exception with the specified detail message.

Parameters
message The exception detail message