FileDocCategorySizeDatePackage
AuthFailureError.javaAPI DocAndroid 5.1 API1752Thu Mar 12 22:22:56 GMT 2015com.android.volley

AuthFailureError

public class AuthFailureError extends com.android.volley.VolleyError
Error indicating that there was an authentication failure when performing a Request.

Fields Summary
private android.content.Intent
mResolutionIntent
An intent that can be used to resolve this exception. (Brings up the password dialog.)
Constructors Summary
public AuthFailureError()

 
public AuthFailureError(android.content.Intent intent)

        mResolutionIntent = intent;
    
public AuthFailureError(com.android.volley.NetworkResponse response)

        super(response);
    
public AuthFailureError(String message)

        super(message);
    
public AuthFailureError(String message, Exception reason)

        super(message, reason);
    
Methods Summary
public java.lang.StringgetMessage()

        if (mResolutionIntent != null) {
            return "User needs to (re)enter credentials.";
        }
        return super.getMessage();
    
public android.content.IntentgetResolutionIntent()

        return mResolutionIntent;