@Override
	public Parcel toParcel(){
		
		String error = null;
		
		if(address == null){
			error = "Peer's address is not specified or is null.";
		} else if(location == null){
			error = "Peer's location is not specified or is null.";
		} else if(velocity == null){
			error = "Peer's velocity is not specified or is null.";
		}
		
		if(error != null){
			throw new ParcelException("Unable to convert object to parcel. " + error);
		}
		
		return Parcel.combineParcelables(address, location, velocity);
	}