Informatievlaanderen / VSDS-LDESServer4J

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

Implement re-usable exceptions #661

Closed Tomvbe closed 11 months ago

Tomvbe commented 1 year ago

We have a lot of different exceptions that are only used in very specific cases which could be easily merged together in a common NotFoundException, NotUniqueException, etc. instead of creating these kind of exceptions in many different flavors.

WLefever-Cegeka commented 1 year ago

Agree, moreover since we are treating them all in a similar way when returning the http status and message :-)

Tomvbe commented 1 year ago

When picking this issue up, the following issue can be done at the same time: https://github.com/Informatievlaanderen/VSDS-LDESServer4J/issues/569