java.lang.Object | ||||||
↳ | java.lang.Throwable | |||||
↳ | java.lang.Exception | |||||
↳ | java.lang.RuntimeException | |||||
↳ | org.springframework.core.NestedRuntimeException | |||||
↳ | org.springframework.core.convert.ConversionException | |||||
↳ | org.springframework.core.convert.ConversionFailedException |
Exception to be thrown when an actual type conversion attempt fails.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new conversion exception.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the source type we tried to convert the value from.
| |||||||||||
Return the target type we tried to convert the value to.
| |||||||||||
Return the offending value.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.core.NestedRuntimeException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Create a new conversion exception.
sourceType | the value's original type |
---|---|
targetType | the value's target type |
value | the value we tried to convert |
cause | the cause of the conversion failure |
Return the source type we tried to convert the value from.
Return the target type we tried to convert the value to.