Top Description Fields Constructors Methods
org.springframework.beans

public Class ConversionNotSupportedException

extends TypeMismatchException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.beans.PropertyChangeEvent, org.springframework.lang.Nullable

Exception thrown when no suitable editor or converter can be found for a bean property.
Authors
Arjen Poutsma, Juergen Hoeller
Since
3.0

Field Summary

Inherited from org.springframework.beans.TypeMismatchException:
ERROR_CODE

Constructor Summary

AccessConstructor and Description
public
ConversionNotSupportedException(PropertyChangeEvent
the PropertyChangeEvent that resulted in the problem
propertyChangeEvent
,
Class<?>
the required target type (or null if not known)
requiredType
,
Throwable
the root cause (may be null)
cause
)

Create a new ConversionNotSupportedException.

public
ConversionNotSupportedException(Object
the offending value that couldn't be converted (may be null)
value
,
Class<?>
the required target type (or null if not known)
requiredType
,
Throwable
the root cause (may be null)
cause
)

Create a new ConversionNotSupportedException.

Method Summary

Inherited from org.springframework.beans.TypeMismatchException:
getErrorCodegetPropertyNamegetRequiredTypegetValueinitPropertyName

Constructor Detail

ConversionNotSupportedExceptionback to summary
public ConversionNotSupportedException(PropertyChangeEvent propertyChangeEvent, Class<?> requiredType, Throwable cause)

Create a new ConversionNotSupportedException.

Parameters
propertyChangeEvent:PropertyChangeEvent

the PropertyChangeEvent that resulted in the problem

requiredType:Class<?>

the required target type (or null if not known)

cause:Throwable

the root cause (may be null)

ConversionNotSupportedExceptionback to summary
public ConversionNotSupportedException(Object value, Class<?> requiredType, Throwable cause)

Create a new ConversionNotSupportedException.

Parameters
value:Object

the offending value that couldn't be converted (may be null)

requiredType:Class<?>

the required target type (or null if not known)

cause:Throwable

the root cause (may be null)