@Override
	public CommitteeProposalComponentData getCommitteeProposal(final String id) throws DataFailureException {
		try {
			final String url = COMMITTE_PROPOSAL.replace(ID_KEY, id);
			return ((JAXBElement<CommitteeProposalComponentData>) xmlAgent.unmarshallXml(
					riksdagenCommitteeProposalMarshaller, url,
					HTTP_UTSKOTTSFORSLAG_RIKSDAGEN_EXTERNAL_MODEL_CIA_HACK23_COM_IMPL, null, null)).getValue();
		} catch (final XmlAgentException e) {
			LOGGER.warn(PROBLEM_GETTING_COMMITTEE_PROPOSAL_FOR_ID_S_FROM_DATA_RIKSDAGEN_SE, id);
			throw new DataFailureException(e);
		}
	}
@Override
	public CommitteeProposalComponentData getCommitteeProposal(final String id) throws DataFailureException {
		try {
			final String url = COMMITTE_PROPOSAL.replace(ID_KEY, id);
			return ((JAXBElement<CommitteeProposalComponentData>) xmlAgent.unmarshallXml(
					riksdagenCommitteeProposalMarshaller, url,
					HTTP_UTSKOTTSFORSLAG_RIKSDAGEN_EXTERNAL_MODEL_CIA_HACK23_COM_IMPL, null, null)).getValue();
		} catch (final XmlAgentException e) {
			LOGGER.warn(PROBLEM_GETTING_COMMITTEE_PROPOSAL_FOR_ID_S_FROM_DATA_RIKSDAGEN_SE, id);
			throw new DataFailureException(e);
		}
	}
@ Override public CommitteeProposalComponentData getCommitteeProposal ( final String id ) throws DataFailureException { try { final String url = COMMITTE_PROPOSAL . replace ( ID_KEY , id ) ; return ( ( JAXBElement < CommitteeProposalComponentData > ) xmlAgent . unmarshallXml ( riksdagenCommitteeProposalMarshaller , url , HTTP_UTSKOTTSFORSLAG_RIKSDAGEN_EXTERNAL_MODEL_CIA_HACK23_COM_IMPL , null , null ) ) . getValue ( ) ; } catch ( final XmlAgentException e ) { LOGGER . warn ( PROBLEM_GETTING_COMMITTEE_PROPOSAL_FOR_ID_S_FROM_DATA_RIKSDAGEN_SE , id ) ; throw new DataFailureException ( e ) ; } }
/* (non-Javadoc)
@see com.hack23.cia.service.external.riksdagen.api.RiksdagenCommitteeProposalApi#getCommitteeProposal(java.lang.String)
/ * ( non - Javadoc )