All Questions
5 questions
1
vote
1
answer
3k
views
Spring boot: better way to handle response and exceptions
I am working on a quite a big Spring Boot web service and I wanted a standardized and simplified way to handle responses and exceptions by following fluent API design.
So this is what I did and it ...
1
vote
1
answer
186
views
2
votes
1
answer
2k
views
Spring MVC @ControllerAdvice exception handling
This is about handling sql - foreign key constraint failure exceptions (SQL Error: 1452, SQLState: 23000) globally using ...
1
vote
1
answer
201
views
Spring MVC controller
My code has a nasty smell that looks like this:
...
3
votes
2
answers
252
views
Throw exception in Spring when loading a file
I have this following piece of code:
...