spring-framework / org.springframework.beans / TypeMismatchException / <init>

<init>

TypeMismatchException(propertyChangeEvent: PropertyChangeEvent, requiredType: Class<*>)

Create a new TypeMismatchException.

Parameters

propertyChangeEvent - the PropertyChangeEvent that resulted in the problem

requiredType - the required target type

TypeMismatchException(propertyChangeEvent: PropertyChangeEvent, @Nullable requiredType: Class<*>, @Nullable cause: Throwable)

Create a new TypeMismatchException.

Parameters

propertyChangeEvent - the PropertyChangeEvent that resulted in the problem

requiredType - the required target type (or null if not known)

cause - the root cause (may be null)

TypeMismatchException(@Nullable value: Any, @Nullable requiredType: Class<*>)

Create a new TypeMismatchException without PropertyChangeEvent.

Parameters

value - the offending value that couldn't be converted (may be null)

requiredType - the required target type (or null if not known)

TypeMismatchException(@Nullable value: Any, @Nullable requiredType: Class<*>, @Nullable cause: Throwable)

Create a new TypeMismatchException without PropertyChangeEvent.

Parameters

value - the offending value that couldn't be converted (may be null)

requiredType - the required target type (or null if not known)

cause - the root cause (may be null)