rendered paste bodyif(txtLongQueueSize.getText().length() == 0){
throw new NullInputException();
}
else if(txtNormalServeSpeed.getText().length() == 0){
throw new NullInputException();
}
else if(txtImprovedServeSpeed.getText().length() == 0){
throw new NullInputException();
} else {
tempStaffProfile.setLongQueueSize(Integer.parseInt(txtLongQueueSize.getText()));
tempStaffProfile.setNormalServeSpeed(Float.parseFloat(txtNormalServeSpeed.getText()));
tempStaffProfile.setImprovedServeSpeed(Float.parseFloat(txtImprovedServeSpeed.getText()));
}