Interface ParamError

  • All Known Subinterfaces:
    BindingError, ValidationError

    public interface ParamError
    Base interface for errors related to parameter data binding
    Since:
    1.0
    Author:
    Christian Kaltepoth, Ivar Grimstad
    • Method Detail

      • getMessage

        String getMessage()
        Returns a human-readable error message for this error.
        Returns:
        The human-readable error message
      • getParamName

        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