get("/throwsubclassofbaseexception", (request, response) -> {
throw new SubclassOfBaseException();
});
get("/thrownotfound", (request, response) -> {
throw new NotFoundException();
});
exception(UnsupportedOperationException.class, (exception, request, response) -> {
response.body("Exception handled");
});