Package com.firebase.ui.auth.data.model
Class PhoneNumberVerificationRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.firebase.ui.auth.FirebaseUiException
-
- com.firebase.ui.auth.data.model.PhoneNumberVerificationRequiredException
-
- All Implemented Interfaces:
Serializable
public class PhoneNumberVerificationRequiredException extends FirebaseUiException
Represents an error in which the phone number couldn't be automatically verified and must therefore be manually verified by the client by sending an SMS code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PhoneNumberVerificationRequiredException(String number)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPhoneNumber()
-
Methods inherited from class com.firebase.ui.auth.FirebaseUiException
getErrorCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PhoneNumberVerificationRequiredException
public PhoneNumberVerificationRequiredException(@NonNull String number)
- Parameters:
number
- the phone number requiring verification, formatted with a country code prefix
-
-
Method Detail
-
getPhoneNumber
@NonNull public String getPhoneNumber()
- Returns:
- the phone number requiring verification
-
-