title: Jackson deserialization error handling
body: <p>My problem is fairly simple : I have the following simple class:</p>
  
  <pre><code>public class Foo {
     private int id = -1;
     public void setId(int _id){ this.id = _id; }
     public int getId(){ return this.id; }
  }
  </code></pre>
  
  <p>And I am trying to process following JSON:</p>
  
  <pre><code>{
    "id": "blah"
  }
  </code></pre>
  
  <p>Obviously, there is a problem here ("blah" cannot be parsed to an int)</p>
  
  <p>Formerly, Jackson throws something like org.codehaus.jackson.map.JsonMappingException: Can not construct instance of java.lang.Integer from String value 'blah': not a valid Integer value</p>
  
  <p>I agree with this, but I'd like to register something somewhere allowing to ignore this type of mapping errors.
  I tried with a DeserializationProblemHandler registered (see <a href="http://wiki.fasterxml.com/JacksonHowToIgnoreUnknown" rel="noreferrer">here</a>) but it seems to only work on unknown properties and not deserialization problems.</p>
  
  <p>Have you any clue on this issue?</p>