Module jakarta.mvc

Interface BindingError

All Superinterfaces:
ParamError

public interface BindingError extends ParamError

Represents a single error that occurred while binding a parameter to a controller method argument or controller field using a binding annotation like FormParam.

Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides access to the raw submitted value of the parameter which caused the binding to fail.

    Methods inherited from interface jakarta.mvc.binding.ParamError

    getMessage, getParamName
  • Method Details

    • getSubmittedValue

      String getSubmittedValue()
      Provides access to the raw submitted value of the parameter which caused the binding to fail.
      Returns:
      The raw value submitted for the parameter