TypeConverterSupport does not propagate custom exceptions anymore [SPR-14661] #19225
Comments
Juergen Hoeller commented This seems to be a consequence of the fix in #18917 and therefore a regression. We'll revisit this for 4.2.8 / 4.3.3, possibly enumerating all actual type-mismatch-like exceptions there. |
Juergen Hoeller commented I've revised the fix for #18917 such that it only applies to |
Juergen Hoeller commented It would be great if you could give the latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: