Skip to content

Remove punctuation in Exception messages #4079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jxblum opened this issue Jun 8, 2022 · 0 comments
Closed

Remove punctuation in Exception messages #4079

jxblum opened this issue Jun 8, 2022 · 0 comments
Assignees
Labels
in: core Issues in core support

Comments

@jxblum
Copy link
Contributor

jxblum commented Jun 8, 2022

By default, Java concatenates Exception messages in a chained Exception with the ;. If punctuation is used, then this can lead to confusing text, such as: "Outer exception message.; Chained exception message". Also, the use of the exclamation point (!) is rather abrasive.

Typically, punctuation and other special treatment of the messages in Exceptions is not used. This is also consistent with the core Spring Framework.

@jxblum jxblum self-assigned this Jun 8, 2022
@jxblum jxblum added the in: core Issues in core support label Jun 8, 2022
@jxblum jxblum added this to the 4.0 M5 (2022.0.0) milestone Jun 8, 2022
@jxblum jxblum closed this as completed in f15fd2a Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support
Projects
None yet
Development

No branches or pull requests

1 participant