public class ValidatorError extends ValidationMessage
The ValidatorError
class represents an error while
validating an object.
Constructor and Description |
---|
ValidatorError(java.lang.String keyIn)
Construct a new ValidatorError with the specified
l10n key
|
ValidatorError(java.lang.String keyIn,
java.lang.Object... valuesIn)
Construct a ValidatorError with the proper
key and values
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
getKey, getLocalizedMessage, getMessage, getValues
public ValidatorError(java.lang.String keyIn, java.lang.Object... valuesIn)
keyIn
- the key to use to lookup the localized stringvaluesIn
- the values to substitute in the messagepublic ValidatorError(java.lang.String keyIn)
keyIn
- the key to use to lookup the localized stringpublic java.lang.String toString()
toString
in class ValidationMessage