org.grails.databinding.errors
Interface BindingError

All Known Implementing Classes:
SimpleBindingError

public interface BindingError

Represents a problem which occurred during data binding.

Since:
2.3

Method Summary
 java.lang.Throwable getCause()
           
 java.lang.Object getObject()
           
 java.lang.String getPropertyName()
           
 java.lang.Object getRejectedValue()
           
 

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