Class PasswordStrengthException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
io.github.xezzon.zeroweb.crypto.exception.PasswordStrengthException
All Implemented Interfaces:
Serializable

@NullMarked public class PasswordStrengthException extends io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
口令强度不符合要求
Author:
xezzon
See Also:
  • Field Details

  • Constructor Details

    • PasswordStrengthException

      public PasswordStrengthException(int score, int requirement)
      口令强度得分不达标
      Parameters:
      score - 实际得分
      requirement - 要求得分
  • Method Details

    • code

      public String code()
      Specified by:
      code in class io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException