Class ConverterNotFoundException

All Implemented Interfaces:
Serializable

public class ConverterNotFoundException extends ConversionException
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 Details

    • ConverterNotFoundException

      public ConverterNotFoundException(@Nullable TypeDescriptor sourceType, TypeDescriptor targetType)
      Create 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

    • getSourceType

      @Nullable public TypeDescriptor getSourceType()
      Return the source type that was requested to convert from.
    • getTargetType

      public TypeDescriptor getTargetType()
      Return the target type that was requested to convert to.