public interface BindingError
Represents a single error that occurred while binding a parameter to a controller
method argument or controller field using a binding annotation like FormParam
. Binding error message templates are read from a
ResourceBundle
named BindingMessages
.
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the interpolated error message for this binding error.
|
String |
getParamName()
The parameter name of the value that caused the binding error.
|
String getMessage()
String getParamName()
FormParam
).Copyright © 2017 Ivar Grimstad. All rights reserved.