When I send unsupported JSON request I receive stack trace from Jackson that it doesn't have this property. On the @JsonIgnoreProperties(ignoreUnknown = true) I just got a response without necessary obtaining as expected. But how can I return for example 400 or another response code without stack trace?
org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "dave" (Class com.atlassian.troubleshooting.jfr.domain.JfrSettings), not marked as ignorable
at [Source: org.apache.catalina.connector.CoyoteInputStream@8aaf377; line: 1, column: 14] (through reference chain: com.atlassian.troubleshooting.jfr.domain.JfrSettings["dave"])
at org.codehaus.jackson.map.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:53)
at org.codehaus.jackson.map.deser.StdDeserializationContext.unknownFieldException(StdDeserializationContext.java:267)
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)