Code example for RemoteException

Methods: getMessage

0
		if (sm.isBlocked(inNumber)) {
			try { 
				telephony.endCall();
				Log.i(TAG, inNumber + " is blocked");
			} catch (RemoteException e) {
				Log.e(TAG, "onReceive: " + e.getMessage());
			} 
		} 
	} 
}