-
- All Known Subinterfaces:
BindingError,ValidationError
public interface ParamErrorBase interface for errors related to parameter data binding- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetMessage()Returns a human-readable error message for this error.java.lang.StringgetParamName()The parameter name of the value that caused the error.
-
-
-
Method Detail
-
getMessage
java.lang.String getMessage()
Returns a human-readable error message for this error.- Returns:
- The human-readable error message
-
getParamName
java.lang.String getParamName()
The parameter name of the value that caused the error. This is usually the name specified in the binding annotation (i.e.FormParam).- Returns:
- The name of the parameter which caused the error
-
-