There was an error while loading. Please reload this page.
2 parents 6b57fb0 + 3f30770 commit a3f2230Copy full SHA for a3f2230
README.md
@@ -0,0 +1,9 @@
1
+# spring-boot-rest-design
2
+
3
+Sample application for creating RESTful web services in Spring Boot with Exception handling.
4
5
+The goal is to not to build the response in the service layer with the help of exception handling.
6
7
+ 1. Service layer only possessing business logic which is perfect for testing it.
8
+ 2. Errors are handled in a common class not in actual controller or service that it's called from.
9
+ 2. Allows sending two different response Type Success and Error corresponding to the result.
0 commit comments