title: Try / Catch in Constructor - Recommended Practice?
body: <p>Something I've always been curious of</p>
  
  <pre><code>public class FileDataValidator {
  
  private String[] lineData;
  
  public FileDataValidator(String[] lineData){
  
      this.lineData = lineData;
      removeLeadingAndTrailingQuotes();
  
      try
      {
          validateName();
          validateAge();
          validateTown();
      }
      catch(InvalidFormatException e)
      {
          e.printStackTrace();
      }
  
  }
  
  //validation methods below all throwing InvalidFormatException
  </code></pre>
  
  <p>Is is not advisable to include the try/catch block within my Constructor?
  I know I could have the Constructor throw the Exception back to the caller.  What do you guys prefer in calling methods like I have done in Constructor?  In the calling class would you prefer creating an instance of FileDataValidator and calling the methods there on that instance?  Just interested to hear some feedback!</p>