Informatievlaanderen / VSDS-LDESServer4J

Linked Data Event Streams Server for Java
https://informatievlaanderen.github.io/VSDS-LDESServer4J
European Union Public License 1.2
10 stars 11 forks source link

Move all Exception Handling together in one module #1355

Open jobulcke opened 3 months ago

jobulcke commented 3 months ago

Currently, in each of the ingestion-rest, fetch-rest and admin module, there is a exception handler present that sometimes catch the same exception type, e.g. ShaclValidationException. Spring chooses one of those three, but the implementation is not always a 100% identical. Therefore, I would suggest to move all the exception handling all together in either the domain module or the application module