org.springframework.binding.convert
Class ConversionExecutorNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.binding.convert.ConversionException
org.springframework.binding.convert.ConversionExecutorNotFoundException
- All Implemented Interfaces:
- Serializable
public class ConversionExecutorNotFoundException
- extends ConversionException
Thrown when a conversion executor could not be found in a conversion service.
- Author:
- Keith Donald
- See Also:
ConversionService.getConversionExecutor(Class, Class)
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConversionExecutorNotFoundException
public ConversionExecutorNotFoundException(Class sourceClass,
Class targetClass,
String message)
- Creates a new conversion executor not found exception.
- Parameters:
sourceClass
- the source type requested to convert fromtargetClass
- the target type requested to convert tomessage
- a descriptive message
getSourceClass
public Class getSourceClass()
- Returns the source type requested to convert from.
getTargetClass
public Class getTargetClass()
- Returns the target type requested to convert to.