public class InvalidPasswordException
extends JSException
implements java.io.Serializable
Constructor and Description |
---|
InvalidPasswordException(boolean isAdvancedPasswordLimitedMinLength,
int passwordMinLength,
boolean isAdvancedPasswordContainsUppercase,
boolean isAdvancedPasswordContainsLowercase,
boolean isAdvancedPasswordContainsNumber,
boolean isAdvancedPasswordContainsSymbols) |
InvalidPasswordException(int msgKey)
Constructs a new
InvalidPasswordException with the specified message, the cause is not initialized. |
InvalidPasswordException(int msgKey,
java.lang.Object[] params,
java.lang.Throwable cause)
Constructs a new throwable with the specified detailed message and cause.
|
InvalidPasswordException(int msgKey,
java.lang.Throwable cause)
Constructs a new
InvalidPasswordException with the specified detailed message and cause. |
InvalidPasswordException(java.lang.String msg)
Constructs a new
InvalidPasswordException with the specified message, the cause is not initialized. |
InvalidPasswordException(java.lang.Throwable cause)
Constructs a new
InvalidPasswordException with the specified cause and a null |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNLSMessage(javax.servlet.http.HttpServletRequest req)
Get InvalidPasswordExcetpion NLS message according to locale in request.
|
public InvalidPasswordException(int msgKey, java.lang.Object[] params, java.lang.Throwable cause)
msgKey
- the message key in strJError, for finding the message, and which will be logged and shown to user.params
- the parameters used for formatting the message string, which can be null.cause
- the cause which is saved for later retrieval by the getCause.public InvalidPasswordException(int msgKey, java.lang.Throwable cause)
InvalidPasswordException
with the specified detailed message and cause.msgKey
- the message key.cause
- the cause. A null
is permitted, and it indicates the cause is nonexistent or unknown.public InvalidPasswordException(int msgKey)
InvalidPasswordException
with the specified message, the cause is not initialized.msgKey
- the message key.public InvalidPasswordException(java.lang.String msg)
InvalidPasswordException
with the specified message, the cause is not initialized.msg
- the detailed message.public InvalidPasswordException(java.lang.Throwable cause)
InvalidPasswordException
with the specified cause and a null message.
cause
- the cause.public InvalidPasswordException(boolean isAdvancedPasswordLimitedMinLength, int passwordMinLength, boolean isAdvancedPasswordContainsUppercase, boolean isAdvancedPasswordContainsLowercase, boolean isAdvancedPasswordContainsNumber, boolean isAdvancedPasswordContainsSymbols)
public java.lang.String getNLSMessage(javax.servlet.http.HttpServletRequest req)
This method only used for InvalidPasswordException(boolean, int, boolean, boolean, boolean, boolean)
to new object.
req
-