How to unwrap Custom RuntimeException from Json Mapping Exception
问题 In a spring data rest project i use a custom RuntimeException to be called in a custom Deserializer public class LocalDateDeserializer extends StdDeserializer<LocalDate> { ... @Override public LocalDate deserialize(JsonParser jsonparser, DeserializationContext context) throws IOException, JsonProcessingException { String date = jsonparser.getText(); String name = jsonparser.getCurrentName(); try { return LocalDate.parse(date, DateTimeFormatter.ISO_LOCAL_DATE); } catch (DateTimeParseException