Class ConversionNotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.beans.BeansException
org.springframework.beans.PropertyAccessException
org.springframework.beans.TypeMismatchException
org.springframework.beans.ConversionNotSupportedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MethodArgumentConversionNotSupportedException
Exception thrown when no suitable editor or converter can be found for a bean property.
- Since:
- 3.0
- Author:
- Arjen Poutsma, Juergen Hoeller
- See Also:
- 
Field SummaryFields inherited from class org.springframework.beans.TypeMismatchExceptionERROR_CODE
- 
Constructor SummaryConstructorsConstructorDescriptionConversionNotSupportedException(PropertyChangeEvent propertyChangeEvent, @Nullable Class<?> requiredType, @Nullable Throwable cause) Create a new ConversionNotSupportedException.ConversionNotSupportedException(@Nullable Object value, @Nullable Class<?> requiredType, @Nullable Throwable cause) Create a new ConversionNotSupportedException.
- 
Method SummaryMethods inherited from class org.springframework.beans.TypeMismatchExceptiongetErrorCode, getPropertyName, getRequiredType, getValue, initPropertyNameMethods inherited from class org.springframework.beans.PropertyAccessExceptiongetPropertyChangeEventMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ConversionNotSupportedExceptionpublic ConversionNotSupportedException(PropertyChangeEvent propertyChangeEvent, @Nullable Class<?> requiredType, @Nullable Throwable cause) Create a new ConversionNotSupportedException.- Parameters:
- propertyChangeEvent- the PropertyChangeEvent that resulted in the problem
- requiredType- the required target type (or- nullif not known)
- cause- the root cause (may be- null)
 
- 
ConversionNotSupportedExceptionpublic ConversionNotSupportedException(@Nullable Object value, @Nullable Class<?> requiredType, @Nullable Throwable cause) Create a new ConversionNotSupportedException.- Parameters:
- value- the offending value that couldn't be converted (may be- null)
- requiredType- the required target type (or- nullif not known)
- cause- the root cause (may be- null)
 
 
-