Code example for Resources.NotFoundException

Methods: getMessage

0
		} catch (ParserConfigurationException e) {
			Logger.log(e.getMessage());
		} catch (SAXException e) {
			Logger.log(e.getMessage());
		} catch (NotFoundException e) {
			Logger.log(e.getMessage());
		} catch (IOException e) {
			Logger.log(e.getMessage());
		} 
		return lindeDetails;
	} 
 
	private int getResourceId() { 
		return busLineActivity.getResources().getIdentifier(
			busLine.getCityName()+busLine.getLineName().toLowerCase(),
			Constants.XMLAttributes.XML_FOLDER,  
			busLineActivity.getPackageName());
	} 
 
	@Override 
Stop searching for code, let great code find you!  Add Codota to your java IDE