public final class

FirebaseAuthWeakPasswordException

extends FirebaseAuthInvalidCredentialsException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.firebase.FirebaseException
         ↳ com.google.firebase.auth.FirebaseAuthException
           ↳ com.google.firebase.auth.FirebaseAuthInvalidCredentialsException
             ↳ com.google.firebase.auth.FirebaseAuthWeakPasswordException

Class Overview

Thrown when using a weak password (less than 6 chars) to create a new account or to update an existing account's password. Use getReason() to get a message with the reason the validation failed that you can display to your users.

Summary

Public Methods
String getReason()
Returns a message that contains the reason that the password strength validation failed.
[Expand]
Inherited Methods
From class com.google.firebase.auth.FirebaseAuthException
From class java.lang.Throwable
From class java.lang.Object

Public Methods

public String getReason ()

Returns a message that contains the reason that the password strength validation failed. This message can be directly shown to the user.

Returns
String