Revise core.convert Converter SPI to not a throw checked Exception for the typed convert method [SPR-6138] #10806
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Keith Donald opened SPR-6138 and commented
Converters can be called directly by application code, or other code other than a ConversionService facade. Therefore the central convert operation should not throw a general Exception type but rather declare a
@throws
IllegalArgumentException in the JavaDoc instructing the developer to throw a RuntimeException after a conversion failure.Affects: 3.0 M4
The text was updated successfully, but these errors were encountered: