open class TypeMismatchException : PropertyAccessException
Exception thrown on a type mismatch when trying to set a bean property.
Author
Rod Johnson
Author
Juergen Hoeller
TypeMismatchException(propertyChangeEvent: PropertyChangeEvent, requiredType: Class<*>) TypeMismatchException(propertyChangeEvent: PropertyChangeEvent, requiredType: Class<*>, cause: Throwable)
Create a new TypeMismatchException. TypeMismatchException(value: Any, requiredType: Class<*>) TypeMismatchException(value: Any, requiredType: Class<*>, cause: Throwable)
Create a new TypeMismatchException without PropertyChangeEvent. |
static val ERROR_CODE: String
Error code that a type mismatch error will be registered with. |
open fun getErrorCode(): String |
|
open fun getRequiredType(): Class<*>
Return the required target type, if any. |
|
open fun getValue(): Any
Return the offending value (may be |
open fun getPropertyChangeEvent(): PropertyChangeEvent
Return the PropertyChangeEvent that resulted in the problem. May be |
|
open fun getPropertyName(): String
Return the name of the affected property, if available. |
open class ConversionNotSupportedException : TypeMismatchException
Exception thrown when no suitable editor or converter can be found for a bean property. |
|
open class MethodArgumentTypeMismatchException : TypeMismatchException
A TypeMismatchException raised while resolving a controller method argument. Provides access to the target org.springframework.core.MethodParameter. |