Closed
Description
Franz Wong opened SPR-16074 and commented
I have ExceptionA and ExceptionB.
ExceptionB is the cause of ExceptionA.
ExceptionB exceptionB = new ExceptionB();
throw new ExceptionA(exceptionB);
The order of exception handlers for both exceptions are the same.
It means ExceptionBHandler "may" be checked before ExceptionAHandler in "ExceptionHandlerExceptionResolver.getExceptionHandlerMethod", thus it uses ExceptionBHandler instead of ExceptionAHandler.
Affects: 4.3.10
Referenced from: commits ea00c7c, d473506
Backported to: 4.3.13