spring-framework / org.springframework.core.convert / ConversionFailedException / <init>

<init>

ConversionFailedException(@Nullable sourceType: TypeDescriptor, targetType: TypeDescriptor, @Nullable value: Any, cause: Throwable)

Create a new conversion exception.

Parameters

sourceType - the value's original type

targetType - the value's target type

value - the value we tried to convert

cause - the cause of the conversion failure