to top
Android APIs
public class

AuthenticationException

extends ProtocolException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ org.apache.http.HttpException
         ↳ org.apache.http.ProtocolException
           ↳ org.apache.http.auth.AuthenticationException
Known Direct Subclasses

Class Overview

Signals a failure in authentication process

Summary

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

Public Constructors

public AuthenticationException ()

Added in API level 1

Creates a new AuthenticationException with a null detail message.

public AuthenticationException (String message)

Added in API level 1

Creates a new AuthenticationException with the specified message.

Parameters
message the exception detail message

public AuthenticationException (String message, Throwable cause)

Added in API level 1

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