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>
Mon, 9 Jan 2023 19:57:47 +0000 (20:57 +0100)
commitbb9be7a7a8516232fe79a5a968ef44c8688f2524
tree43e688a1cc9f17b3e6d67673e7bea681b2cca979
parent48291d3d43d51c676f8b0b3979279a2ba34d9bea
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