Class IllegalAssignmentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.klojang.util.InvokeException
org.klojang.invoke.IllegalAssignmentException
- All Implemented Interfaces:
Serializable
Thrown by a
BeanWriter
if it failed to write a value to a property, for
example because of a type mismatch.- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getBeanClass
Returns the class containing the property.- Returns:
- The class containing the property
-
getPropertyName
-
getPropertyType
Returns the class of the property.- Returns:
- The class of the property
-
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
-