This PR fixes https://github.com/spring-projects/spring-framework/issues/23227 .

As part of this fix , added a new function in NestedExceptionUtils.java which formats the nested exception stack trace based on semi-colon ; and colon : .

P.S : As this is my first PR , please help with the eclipse code formatting file as my current commit has some changes to the lines that were not intended to change for this fix ( just formatting based on eclipse settings). It will help if I can get hold of a .preferences file that I can import locally in my eclipse , re-apply formatting and push the change.

Comment From: pivotal-issuemaster

@kamath-prasad Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@kamath-prasad Thank you for signing the Contributor License Agreement!

Comment From: snicoll

thanks for the PR @kamath-prasad but the related issue has been declined, see https://github.com/spring-projects/spring-framework/issues/23227#issuecomment-1690150025.