spring-framework / org.springframework.core.convert / ConverterNotFoundException

ConverterNotFoundException

open class ConverterNotFoundException : ConversionException

Exception to be thrown when a suitable converter could not be found in a given conversion service.

Author
Keith Donald

Author
Juergen Hoeller

Since
3.0

Constructors

<init>

ConverterNotFoundException(sourceType: TypeDescriptor, targetType: TypeDescriptor)

Create a new conversion executor not found exception.

Functions

getSourceType

open fun getSourceType(): TypeDescriptor

Return the source type that was requested to convert from.

getTargetType

open fun getTargetType(): TypeDescriptor

Return the target type that was requested to convert to.