Class FirebaseUiUserCollisionException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FirebaseUiUserCollisionException
    extends java.lang.Exception
    Internal exception which holds the necessary data to complete sign-in in the event of a recoverable error.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FirebaseUiUserCollisionException​(int code, java.lang.String message, java.lang.String providerId, java.lang.String email, com.google.firebase.auth.AuthCredential credential)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.firebase.auth.AuthCredential getCredential()  
      java.lang.String getEmail()  
      int getErrorCode()  
      java.lang.String getProviderId()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FirebaseUiUserCollisionException

        public FirebaseUiUserCollisionException​(int code,
                                                @NonNull
                                                java.lang.String message,
                                                @NonNull
                                                java.lang.String providerId,
                                                @NonNull
                                                java.lang.String email,
                                                @NonNull
                                                com.google.firebase.auth.AuthCredential credential)
    • Method Detail

      • getProviderId

        @NonNull
        public java.lang.String getProviderId()
      • getEmail

        @NonNull
        public java.lang.String getEmail()
      • getCredential

        @NonNull
        public com.google.firebase.auth.AuthCredential getCredential()
      • getErrorCode

        public final int getErrorCode()
        Returns:
        error code associated with this exception
        See Also:
        ErrorCodes