Skip to content

Commit a3f2230

Browse files
committed
2 parents 6b57fb0 + 3f30770 commit a3f2230

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)