Class IllegalAssignmentException

All Implemented Interfaces:
Serializable

public final class IllegalAssignmentException extends InvokeException
Thrown by a BeanWriter if it failed to write a value to a property, for example because of a type mismatch.
See Also:
  • Method Details

    • getBeanClass

      public Class<?> getBeanClass()
      Returns the class containing the property.
      Returns:
      The class containing the property
    • getPropertyName

      public String getPropertyName()
      Returns the name of the property.
      Returns:
      The name of the property
    • getPropertyType

      public Class<?> getPropertyType()
      Returns the class of the property.
      Returns:
      The class of the property
    • getValue

      public Object getValue()
      Returns the value that was attempted to be assigned to the property
      Returns:
      The value that was attempted to be assigned to the property