Code example for FormatException

Methods: printStackTrace

0
						new Contact("Chiara", "Fiaschetti", 3334047755L, "chiara.mcf86@gmail.com"), 
						new Contact("Marco", "De Cristofaro", 3292788296L, "marco.decristofaro@gmail.com"), 
						new Contact("Giulia", "Fiaschetti", 3491665809L, "giulia.fiaschetti@gmail.com"), 
				}); 
			} catch (FormatException e) {
				e.printStackTrace();
			} 
	        multichoiceDialogFragment.show(fm, "fragment_edit_name");
		} 
		 
	} 
 
	 
	/* (non-Javadoc) 
	 * @see com.example.androidexamples.dialog_fragment.MultichoiceDialogFragment.onMultichoiceDialogFragmentListener#onChoice(com.example.androidexamples.fragment_example.support.Contact[]) 
	 */ 
	@Override 
	public void onChoice(Contact[] contacts) {
		if(contacts==null || contacts.length==0) {
			Toast.makeText(this, R.string.noItemSelected, Toast.LENGTH_LONG).show();
		}else {