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

InvalidCredentialsException

extends AuthenticationException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.apache.http.HttpException
         ↳ org.apache.http.ProtocolException
           ↳ org.apache.http.auth.AuthenticationException
             ↳ org.apache.http.auth.InvalidCredentialsException

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

Class Overview

Authentication credentials required to respond to a authentication challenge are invalid

Summary

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

Public Constructors

public InvalidCredentialsException ()

Added in API level 1

Creates a new InvalidCredentialsException with a null detail message.

public InvalidCredentialsException (String message)

Added in API level 1

Creates a new InvalidCredentialsException with the specified message.

Parameters
message the exception detail message

public InvalidCredentialsException (String message, Throwable cause)

Added in API level 1

Creates a new InvalidCredentialsException 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