title: Java Date exception handling try catch
body: <p>Is there some sort of exception in Java to catch an invalid Date object? I'm trying to use it in the following method, but I don't know what type of exception to look for. Is it a ParseException.</p>
  
  <pre><code>public boolean setDate(Date date) {
          this.date = date;                
          return true;
      }
  </code></pre>