Class ConverterNotFoundException
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
- All Implemented Interfaces:
- Serializable
Exception to be thrown when a suitable converter could not be found
 in a given conversion service.
- Since:
- 3.0
- Author:
- Keith Donald, Juergen Hoeller
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionConverterNotFoundException(@Nullable TypeDescriptor sourceType, TypeDescriptor targetType) Create a new conversion executor not found exception.
- 
Method SummaryModifier and TypeMethodDescriptionReturn the source type that was requested to convert from.Return the target type that was requested to convert to.Methods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ConverterNotFoundExceptionCreate a new conversion executor not found exception.- Parameters:
- sourceType- the source type requested to convert from
- targetType- the target type requested to convert to
 
 
- 
- 
Method Details- 
getSourceTypeReturn the source type that was requested to convert from.
- 
getTargetTypeReturn the target type that was requested to convert to.
 
-