Showing posts with the label Exception Handling

Micronaut REST Exception Handling - Global

Hello everyone, today we will learn how to handle exceptions in the Micronaut REST application using ExceptionHandler . You can download the source code from our Github Repository. Project Directory: Pom.xml: <?xml version = "1.0" encoding = "UTF-8" ?> <project xmlns = "" xmlns:xsi = "" xsi:schemaLocation = "" > <modelVersion> 4.0.0 </modelVersion> <groupId> </groupId> <artifactId> micronaut-global-exception-handling </artifactId> <version> 0.1 </version> <packaging> ${packaging} </packaging> <parent> <groupId> io.micronaut </groupId> <artifactId> micronaut-parent </artifactId> <version> 3.1.3 </version> </pa