コード例 #1
0
 void applyTable(int handle) throws RoutingTableException {
   try {
     int status = rtInterface.apply(handle);
     if (DEBUG) {
       Log.d(TAG, "applyTable(): status=" + Integer.toHexString(status));
     }
     if (status != 0) {
       throw new RoutingTableException(status);
     }
   } catch (RemoteException ex) {
     Log.e(TAG, "applyTable() fails: " + ex);
     throw new RoutingTableException(OpenNfcException.SERVICE_COMMUNICATION_FAILED);
   }
 }