title: Validate range with java Date and SimpleDateFormat
body: <p>Is there a Date exception that I can deal with when I try to parse a date with this code here:</p>
  <pre><code>try{
     SimpleDateFormat df = new SimpleDateFormat(&quot;dd:MM:yyyy&quot;); 
     Date date = df.parse(dateRelease);
  }catch (ParseException e) {} 
  </code></pre>
  <p>Well, if the &quot;dateRelease&quot; isn't in a correct format type it throws ParseException, but I want to get if someone write like &quot;40/03/2010&quot; - WRONG with day, month or year invalid range. Actually, when a invalid date is sent, SimpleDateFormat just create a new Date with default numbers.</p>
  <p>Do I have to create my own method with a regex to deal with it or is there an existing exception that tells me it to catch?</p>