org.springframework.binding.convert
Class ConversionExecutorNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.binding.convert.ConversionException
                  extended by 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

Constructor Summary
ConversionExecutorNotFoundException(Class sourceClass, Class targetClass, String message)
          Creates a new conversion executor not found exception.
 
Method Summary
 Class getSourceClass()
          Returns the source type requested to convert from.
 Class getTargetClass()
          Returns the target type requested to convert to.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 from
targetClass - the target type requested to convert to
message - a descriptive message
Method Detail

getSourceClass

public Class getSourceClass()
Returns the source type requested to convert from.


getTargetClass

public Class getTargetClass()
Returns the target type requested to convert to.