Say you have a LocalDate attribute in one of your models in your Spring based RESTful Web Service and you need your clients to send and receive the LocalDate in some form of yyyyMMdd LocalDate myDate; Simply add the following dependency to your classpath (pom.xml)...
Tag: spring-boot
Global Exception handling for Spring MVC
Proper exception handling in a REST service can help Provide proper HTTP response codes and pertinent error messages to downstream clients Logging custom exceptions can help with analytics (If logs are aggregated through a Log aggregation system such as Splunk, one can easily find out...