Top Description Methods
javax.mvc.binding

public Interface ParamError

Known Direct Subinterfaces
javax.mvc.binding.ValidationError, javax.mvc.binding.BindingError

Base interface for errors related to parameter data binding
Author
Christian Kaltepoth
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The human-readable error message
getMessage
()

Returns a human-readable error message for this error.

public String

Returns:

The name of the parameter which caused the error
getParamName
()

The parameter name of the value that caused the error.

Method Detail

getMessageback to summary
public String getMessage()

Returns a human-readable error message for this error.

Returns:String

The human-readable error message

getParamNameback to summary
public String getParamName()

The parameter name of the value that caused the error. This is usually the name specified in the binding annotation (i.e. javax.ws.rs.FormParam).

Returns:String

The name of the parameter which caused the error