This commit is contained in:
Keith Donald 2009-07-27 12:39:23 +00:00
parent ca060cea42
commit e85ad67fd0
2 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,10 @@ import org.springframework.model.message.DefaultMessageFactory;
import org.springframework.model.message.MessageBuilder;
import org.springframework.model.message.ResolvableArgument;
/**
* Indicates a field failed to bind because it was not editable/writeable.
* @author Keith Donald
*/
public class FieldNotEditableResult implements BindingResult {
private String fieldName;

View File

@ -24,6 +24,10 @@ import org.springframework.model.message.DefaultMessageFactory;
import org.springframework.model.message.MessageBuilder;
import org.springframework.model.message.ResolvableArgument;
/**
* Indicates field failed to bind because it was not found.
* @author Keith Donald
*/
public class FieldNotFoundResult implements BindingResult {
private String fieldName;