Summary: Methods | Inherited Methods | [Expand All]
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
String | getErrorCode() Returns an error code that may provide more information about the error.
From class java.lang.Throwable
final void | addSuppressed(Throwable arg0)
Throwable | fillInStackTrace()
Throwable | getCause()
String | getLocalizedMessage()
String | getMessage()
StackTraceElement[] | getStackTrace()
final Throwable[] | getSuppressed()
Throwable | initCause(Throwable arg0)
void | printStackTrace()
void | printStackTrace(PrintWriter arg0)
void | printStackTrace(PrintStream arg0)
void | setStackTrace(StackTraceElement[] arg0)
String | toString()
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## 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.