public class ParameterValidationError extends Object
| Constructor and Description |
|---|
ParameterValidationError() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageKey() |
Object[] |
getParameters() |
String |
getSource()
gets the error source (name of the parameter, that did not pass validation)
|
void |
setMessageKey(String messageKey)
sets message key (I18n), that describes the error
|
void |
setParameters(Object... parameters) |
void |
setSource(String source)
Sets the error source (name of the parameter, that did not pass validation)
|
public String getSource()
public void setSource(String source)
source - error sourcepublic String getMessageKey()
public void setMessageKey(String messageKey)
messageKey - message keypublic Object[] getParameters()
public void setParameters(Object... parameters)
parameters - that might be used in the messageCopyright © 2019 Communote team. All rights reserved.