Class SimpleBindingError

  • All Implemented Interfaces:
    BindingError

    public class SimpleBindingError
    extends java.lang.Object
    implements BindingError
    Since:
    2.3
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleBindingError​(java.lang.Object object, java.lang.String propertyName, java.lang.Object rejectedValue, java.lang.Throwable cause)  
    • Constructor Detail

      • SimpleBindingError

        public SimpleBindingError​(java.lang.Object object,
                                  java.lang.String propertyName,
                                  java.lang.Object rejectedValue,
                                  java.lang.Throwable cause)
    • Method Detail

      • getObject

        public java.lang.Object getObject()
        Specified by:
        getObject in interface BindingError
        Returns:
        the object that data binding was being imposed upon
      • getPropertyName

        public java.lang.String getPropertyName()
        Specified by:
        getPropertyName in interface BindingError
        Returns:
        the name of the property that the data binding error occurred on
      • getRejectedValue

        public java.lang.Object getRejectedValue()
        Specified by:
        getRejectedValue in interface BindingError
        Returns:
        The value which could not be bound to the property
      • getCause

        public java.lang.Throwable getCause()
        Specified by:
        getCause in interface BindingError
        Returns:
        an exception thrown during the data binding process