spring-framework / org.springframework.beans / ConversionNotSupportedException

ConversionNotSupportedException

open class ConversionNotSupportedException : TypeMismatchException

Exception thrown when no suitable editor or converter can be found for a bean property.

Author
Arjen Poutsma

Author
Juergen Hoeller

Since
3.0

Constructors

<init>

ConversionNotSupportedException(propertyChangeEvent: PropertyChangeEvent, requiredType: Class<*>, cause: Throwable)
ConversionNotSupportedException(value: Any, requiredType: Class<*>, cause: Throwable)

Create a new ConversionNotSupportedException.

Inherited Properties

ERROR_CODE

static val ERROR_CODE: String

Error code that a type mismatch error will be registered with.

Inherited Functions

getErrorCode

open fun getErrorCode(): String

getRequiredType

open fun getRequiredType(): Class<*>

Return the required target type, if any.

getValue

open fun getValue(): Any

Return the offending value (may be null).

Inheritors

MethodArgumentConversionNotSupportedException

open class MethodArgumentConversionNotSupportedException : ConversionNotSupportedException

A ConversionNotSupportedException raised while resolving a method argument. Provides access to the target org.springframework.core.MethodParameter.