Code example for URISyntaxException

Methods: getMessage

0
		} catch (IllegalStateException e) {
			LogHelper.LogE(e.getMessage(), e);
		} catch (IOException e) {
			LogHelper.LogE(e.getMessage(), e);
		} catch (URISyntaxException e) {
			LogHelper.LogE(e.getMessage(), e);
		} 
		return names;
	} 
 
	public ArrayList<ContentProviderOperation> getMealNameOps(List<MealName> names) {
		final ArrayList<ContentProviderOperation> batch = 
			new ArrayList<ContentProviderOperation>();
		 
		batch.add(ContentProviderOperation.newDelete(MealNameContract.CONTENT_URI).build());
		 
		for(MealName name : names) {
			final ContentProviderOperation.Builder builder = 
				ContentProviderOperation.newInsert(MealNameContract.CONTENT_URI);
			builder.withValue(MealNameContract.MEALNAME_ID, name.getId());
			builder.withValue(MealNameContract.MEALNAME_NAME, name.getName());