public class ConverterNotFoundException extends ConversionException
| 构造器和说明 |
|---|
ConverterNotFoundException(TypeDescriptor sourceType,
TypeDescriptor targetType)
Create a new conversion executor not found exception.
|
| 限定符和类型 | 方法和说明 |
|---|---|
TypeDescriptor |
getSourceType()
Return the source type that was requested to convert from.
|
TypeDescriptor |
getTargetType()
Return the target type that was requested to convert to.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic ConverterNotFoundException(@Nullable TypeDescriptor sourceType, TypeDescriptor targetType)
sourceType - the source type requested to convert fromtargetType - the target type requested to convert to@Nullable public TypeDescriptor getSourceType()
public TypeDescriptor getTargetType()