Class PasswordResetException

    • Constructor Detail

      • PasswordResetException

        public PasswordResetException​(boolean isRecoverable)
        Create an instance for a password reset error.
        Parameters:
        isRecoverable - whether the exception represents a condition that can be corrected by the user (e.g. password policy violated)
      • PasswordResetException

        public PasswordResetException​(boolean isRecoverable,
                                      String message)
        Create an instance for a password reset error.
        Parameters:
        isRecoverable - whether the exception represents a condition that can be corrected by the user (e.g. password policy violated)
      • PasswordResetException

        public PasswordResetException​(boolean isRecoverable,
                                      Throwable exception)
        Create an instance for a password reset error.
        Parameters:
        isRecoverable - Whether the exception represents a condition that can be corrected by the user (e.g. password policy violated)
        exception - The cause of the exception, if any
      • PasswordResetException

        public PasswordResetException​(boolean isRecoverable,
                                      String messageKey,
                                      Throwable exception)
        Create an instance for a password reset error.
        Parameters:
        isRecoverable - Whether the exception represents a condition that can be corrected by the user (e.g. password policy violated)
        messageKey - The key for the localized message displayed to the user. Failing to find it shows the message "as is".
        exception - The cause of the exception, if any
    • Method Detail

      • isRecoverable

        public boolean isRecoverable()