@Override
	public List<DocumentElement> getDocumentList(final Integer year, final int maxNumberPages)
			throws DataFailureException {
		try {
			return loadDocumentList(DOCUMENT_LIST_YEAR.replace(YEAR_KEY, year.toString()), maxNumberPages);
		} catch (final XmlAgentException e) {	
			LOGGER.warn(PROBLEM_GETTING_DOCUMENT_LIST_FOR_YEAR_S_FROM_DATA_RIKSDAGEN_SE, year);
			throw new DataFailureException(e);
		}
	}
@Override
	public List<DocumentElement> getDocumentList(final Integer year, final int maxNumberPages)
			throws DataFailureException {
		try {
			return loadDocumentList(DOCUMENT_LIST_YEAR.replace(YEAR_KEY, year.toString()), maxNumberPages);
		} catch (final XmlAgentException e) {	
			LOGGER.warn(PROBLEM_GETTING_DOCUMENT_LIST_FOR_YEAR_S_FROM_DATA_RIKSDAGEN_SE, year);
			throw new DataFailureException(e);
		}
	}
@ Override public List < DocumentElement > getDocumentList ( final Integer year , final int maxNumberPages ) throws DataFailureException { try { return loadDocumentList ( DOCUMENT_LIST_YEAR . replace ( YEAR_KEY , year . toString ( ) ) , maxNumberPages ) ; } catch ( final XmlAgentException e ) { LOGGER . warn ( PROBLEM_GETTING_DOCUMENT_LIST_FOR_YEAR_S_FROM_DATA_RIKSDAGEN_SE , year ) ; throw new DataFailureException ( e ) ; } }
/* (non-Javadoc)
@see com.hack23.cia.service.external.riksdagen.api.RiksdagenDocumentApi#getDocumentList(java.lang.Integer, int)
/ * ( non - Javadoc )