public final class ConverterNotFoundException extends ConversionException
Modifier and Type | Field and Description |
---|---|
private TypeDescriptor |
sourceType |
private TypeDescriptor |
targetType |
Constructor and Description |
---|
ConverterNotFoundException(TypeDescriptor sourceType,
TypeDescriptor targetType)
Creates a new conversion executor not found exception.
|
Modifier and Type | Method and Description |
---|---|
TypeDescriptor |
getSourceType()
Returns the source type that was requested to convert from.
|
TypeDescriptor |
getTargetType()
Returns the target type that was requested to convert to.
|
contains, getMessage, getMostSpecificCause, getRootCause
private final TypeDescriptor sourceType
private final TypeDescriptor targetType
public ConverterNotFoundException(TypeDescriptor sourceType, TypeDescriptor targetType)
sourceType
- the source type requested to convert fromtargetType
- the target type requested to convert topublic TypeDescriptor getSourceType()
public TypeDescriptor getTargetType()