Class ConversionNotSupportedException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MethodArgumentConversionNotSupportedException

public class ConversionNotSupportedException extends TypeMismatchException
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:
  • Constructor Details

    • ConversionNotSupportedException

      public 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 null if not known)
      cause - the root cause (may be null)
    • ConversionNotSupportedException

      public 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 null if not known)
      cause - the root cause (may be null)