feat: Implemented problem-details for `UnknownChatroomException`
authorKai Moritz <kai@juplo.de>
Sun, 8 Jan 2023 16:14:56 +0000 (17:14 +0100)
committerKai Moritz <kai@juplo.de>
Sun, 15 Jan 2023 18:37:24 +0000 (19:37 +0100)
commitf2f0cdc6901d1117ac385e10e2c8a28a1886726c
treef01531ffdc9b0ceba631519568a3618083218221
parent2dc6bac0fe439c09c3e4bd113784a95f8a3e33b8
feat: Implemented problem-details for `UnknownChatroomException`

- Implemented an `@ExceptionHandler` for `UnknownChatroomException`.
- Implemented `ChatBackendControllerTest`
  - Asserted, that the problem-details are generated as expected
  - Pinned down problems, that yield a refactoring and have to
    be resolved afterwards.
pom.xml
src/main/java/de/juplo/kafka/chat/backend/api/ChatBackendControllerAdvice.java
src/test/java/de/juplo/kafka/chat/backend/api/ChatBackendControllerTest.java [new file with mode: 0644]
src/test/resources/application.yml