try {
Country cCode = Country.fromValue(jTextField10.getText());
holiYear = Integer.parseInt(jTextField11.getText());
holiMonth = Integer.parseInt(jTextField12.getText());
ArrayOfHoliday holidayByMonth = getHolidaysForMonth(cCode, holiYear, holiMonth);
int holiSize = holidayByMonth.getHoliday().size();
System.out.println("The Holiday dates for " + cCode + ":" + holiYear + ":" + holiMonth + " are: ");
for (int i = 0; i < holiSize; i++) {
System.out.println(holidayByMonth.getHoliday().get(i).getHolidayCode());
System.out.println(holidayByMonth.getHoliday().get(i).getDescriptor());
System.out.println(holidayByMonth.getHoliday().get(i).getHolidayType());
System.out.println(holidayByMonth.getHoliday().get(i).getDateType());
System.out.println(holidayByMonth.getHoliday().get(i).getBankHoliday());
System.out.println(holidayByMonth.getHoliday().get(i).getDate());
System.out.println(holidayByMonth.getHoliday().get(i).getRelatedHolidayCode());
System.out.println(holidayByMonth.getHoliday().get(i).getApplicableRegions());
System.out.println();
}
} catch (Exception e) {
JOptionPane.showMessageDialog(this, "Exception: " + e