Skip to content

TypeConverterSupport does not propagate custom exceptions anymore [SPR-14661] #19225

Closed
@spring-projects-issues

Description

@spring-projects-issues

Valentin Tsvetkov opened SPR-14661 and commented

catch (Throwable ex) on line 77 in TypeConverterSupport. In SpringBoot application we can't properly use @ControllerAdvice because our specific exception that we throw in converter catches in TypeConverterSupport and instead it throws TypeMismatchException.


Affects: 4.2.7

Issue Links:

Referenced from: commits c69e6a3, 73bbe08, 883c3a6

Backported to: 4.2.8

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: backportedAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions