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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
getParameters, httpStatusMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
ERROR_CODE
-
-
Constructor Details
-
PasswordStrengthException
public PasswordStrengthException(int score, int requirement) 口令强度得分不达标- Parameters:
score- 实际得分requirement- 要求得分
-
-
Method Details
-
code
- Specified by:
codein classio.github.xezzon.zeroweb.common.exception.ZerowebBusinessException
-