public final class

ConverterNotFoundException

extends ConversionException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.springframework.core.NestedRuntimeException
           ↳ org.springframework.core.convert.ConversionException
             ↳ org.springframework.core.convert.ConverterNotFoundException

Class Overview

Thrown when a suitable converter could not be found in a conversion service.

Summary

Public Constructors
ConverterNotFoundException(TypeDescriptor sourceType, TypeDescriptor targetType)
Creates a new conversion executor not found exception.
Public Methods
TypeDescriptor getSourceType()
Returns the source type that was requested to convert from.
TypeDescriptor getTargetType()
Returns the target type that was requested to convert to.
[Expand]
Inherited Methods
From class org.springframework.core.NestedRuntimeException
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ConverterNotFoundException (TypeDescriptor sourceType, TypeDescriptor targetType)

Also: SpringCore

Creates a new conversion executor not found exception.

Parameters
sourceType the source type requested to convert from
targetType the target type requested to convert to

Public Methods

public TypeDescriptor getSourceType ()

Also: SpringCore

Returns the source type that was requested to convert from.

public TypeDescriptor getTargetType ()

Also: SpringCore

Returns the target type that was requested to convert to.