public class PasswordLengthException extends PasswordValidationException
Constructor and Description |
---|
PasswordLengthException(int requiredMinLength,
int actualLength)
Constructs a new exception
|
PasswordLengthException(String message,
int requiredMinLength,
int actualLength)
Constructs a new exception
|
Modifier and Type | Method and Description |
---|---|
int |
getActualLength() |
int |
getRequiredMinLength() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PasswordLengthException(int requiredMinLength, int actualLength)
requiredMinLength
- the required minimum length the password needs to haveactualLength
- the length the password hadpublic PasswordLengthException(String message, int requiredMinLength, int actualLength)
message
- a details messagerequiredMinLength
- the required minimum length the password needs to haveactualLength
- the length the password hadCopyright © 2019 Communote team. All rights reserved.