public static java.util.List<Problem> findProblems(JavNag javNag) throws Exception
	{
		java.util.List<Problem> lessImportant = new ArrayList<Problem>();
		java.util.List<Problem> problems = new ArrayList<Problem>();

		// collect problems
		Problems.collectProblems(javNag, config.getPrioPatterns(), problems, lessImportant, config.getAlwaysNotify(), config.getAlsoAcknowledged(), config.getAlsoScheduledDowntime(), config.getAlsoSoftState(), config.getAlsoDisabledActiveChecks(), config.getShowServicesForHostWithProblems(), config.getShowFlapping(), config.getHostsFilterExclude(), config.getHostsFilterInclude(), config.getServicesFilterExclude(), config.getServicesFilterInclude(), config.getHostScheduledDowntimeShowServices(), config.getHostAcknowledgedShowServices(), config.getHostSDOrAckShowServices(), config.getDisplayUnknown(), config.getDisplayDown());
		// sort problems
		Problems.sortList(problems, config.getSortOrder(), config.getSortOrderNumeric(), config.getSortOrderReverse());
		Problems.sortList(lessImportant, config.getSortOrder(), config.getSortOrderNumeric(), config.getSortOrderReverse());
		// and combine them
		for(Problem currentLessImportant : lessImportant)
			problems.add(currentLessImportant);

		return problems;
	}