1/cross_cutting/exceptions.adoc #36
Replies: 1 comment
-
Recommendation of creation of the command abstract class and the reason enum could be misunderstood too easy. The idea could be interesting for a narrow use case, but it is not useful as a general recommendation. Example: If some entity was not found, it could be NotFound, Conflict or InternalServerError depending on the context. The type and the severity of the problem is generally not known in the code position the exception is thrown. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1/cross_cutting/exceptions.adoc
https://devonfw.com/docs/java/current/cross_cutting/exceptions.html
Beta Was this translation helpful? Give feedback.
All reactions