Exceptions and 400 Bad Request handling

Signed-off-by: Alexander Kluth <derhartmut@niwohlos.org>