| org.springframework.binding.convert.ConversionException
ConversionException | public class ConversionException extends NestedRuntimeException (Code) | | Base class for exceptions thrown by the type conversion system.
author: Keith Donald |
Constructor Summary | |
public | ConversionException(Object value, Class targetClass) Creates a new conversion exception. | public | ConversionException(Object value, Class targetClass, Throwable cause) Creates a new conversion exception. | public | ConversionException(Object value, Class targetClass, String message, Throwable cause) Creates a new conversion exception. | public | ConversionException(Class sourceClass, Class targetClass, String message) Creates a new conversion exception. | public | ConversionException(Class sourceClass, String message) Creates a new conversion exception. | public | ConversionException(Class sourceClass, Object value, Class targetClass, String message) Creates a new conversion exception. |
ConversionException | public ConversionException(Object value, Class targetClass)(Code) | | Creates a new conversion exception.
Parameters: value - the value we tried to convert Parameters: targetClass - the target type |
ConversionException | public ConversionException(Object value, Class targetClass, Throwable cause)(Code) | | Creates a new conversion exception.
Parameters: value - the value we tried to convert Parameters: targetClass - the target type Parameters: cause - underlying cause of this exception |
ConversionException | public ConversionException(Object value, Class targetClass, String message, Throwable cause)(Code) | | Creates a new conversion exception.
Parameters: value - the value we tried to convert Parameters: targetClass - the target type Parameters: message - a descriptive message Parameters: cause - underlying cause of this exception |
ConversionException | public ConversionException(Class sourceClass, Class targetClass, String message)(Code) | | Creates a new conversion exception.
Parameters: sourceClass - the source type Parameters: targetClass - the target type Parameters: message - a descriptive message |
ConversionException | public ConversionException(Class sourceClass, String message)(Code) | | Creates a new conversion exception.
Parameters: sourceClass - the source type Parameters: message - a descriptive message |
ConversionException | public ConversionException(Class sourceClass, Object value, Class targetClass, String message)(Code) | | Creates a new conversion exception.
Parameters: sourceClass - the source type Parameters: value - the value we tried to convert Parameters: targetClass - the target type Parameters: message - a descriptive message |
getSourceClass | public Class getSourceClass()(Code) | | Returns the source type.
|
getTargetClass | public Class getTargetClass()(Code) | | Returns the target type.
|
getValue | public Object getValue()(Code) | | Returns the value we tried to convert.
|
|
|