Code example for RemoteException

Methods: igetMessage

0
        int state = -1;
 
        try { 
            state = capabilitiesPeer.getState();
        } catch (RemoteException e) {
            Log.i(TAG, e.getMessage(), e);
        } 
        return state;
    } 
 
    /** 
     * @see Capabilities#hasCapabilities(String) 
     */ 
     
    public boolean hasCapabilities(String connection) {
        if (connection == null) {
            throw new IllegalArgumentException(
                    "The connection argument is null"); 
        } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE