private void findDeviceParser(String type) throws SAXException {

		if (type != null) {
			logger.info(String.format(
					Messages.getString("device_found"), type));  //$NON-NLS-1$

			currentParser = parserFactory.getParser(type);

			if (currentParser != null) {
				logger.info(String.format(Messages.getString("parser_found"), currentParser  //$NON-NLS-1$
						.getClass().getSimpleName()));
				currentParser.init();
			} else {
				throw new SAXException(String.format(
						Messages.getString("unable_to_parse_device"), type));  //$NON-NLS-1$
			}
		} else {
			throw new SAXException(String.format(
					Messages.getString("empty_device_name"))); //$NON-NLS-1$
		}
	}