Try/catch to handle exceptions when validating the Newick trees from imput. Probably should go in a general validation for all tree text fields and file inputs.