Code example for UnknownHostException

Methods: toString

0
			Log.e("UDP-SYS-ERROR", e.toString() );
			 
		} catch (UnknownHostException e) {
			// TODO Auto-generated catch block 
			//System.out.print( e ); 
			Log.e("UDP-SYS-ERROR", e.toString() );
		} catch (IOException e) {
			// TODO Auto-generated catch block 
			//System.out.print( e ); 
			Log.e("UDP-SYS-ERROR", e.toString() );
		}		 
		 
	} 
	 
	@Override 
	public void onSensorChanged(int sensor, float[] values) {
 
 
		synchronized (this) {
			Log.d(tag, "onSensorChanged: " + sensor + ", x: " +	values[0] + ", y: " + values[1] + ", z: " + values[2]);
		}