Package grails.databinding.errors
Interface BindingError
-
- All Known Implementing Classes:
SimpleBindingError
public interface BindingErrorRepresents a problem which occurred during data binding.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ThrowablegetCause()java.lang.ObjectgetObject()java.lang.StringgetPropertyName()java.lang.ObjectgetRejectedValue()
-
-
-
Method Detail
-
getObject
java.lang.Object getObject()
- Returns:
- the object that data binding was being imposed upon
-
getPropertyName
java.lang.String getPropertyName()
- Returns:
- the name of the property that the data binding error occurred on
-
getRejectedValue
java.lang.Object getRejectedValue()
- Returns:
- The value which could not be bound to the property
-
getCause
java.lang.Throwable getCause()
- Returns:
- an exception thrown during the data binding process
-
-