I created a program that currently catches the NumberFormatException for the JTextField.getText() command when adding to a
string variable. However, I'm trying to create an exception for any values less than or equal to 0 and greater than 240 before adding the converted Double values to an array. Any suggestions?