Code example for RemoteException

Methods: toString

0
            } 
        } catch (IllegalArgumentException e) {
            System.err.println("Error: " + e.getMessage());
            return; 
        } catch (RemoteException e) {
            System.err.println(e.toString());
            System.err.println(IMM_NOT_RUNNING_ERR);
            return; 
        } 
    } 
 
    private void runSet() { 
        String id = nextArg();
        if (id == null) {
            System.err.println("Error: no input method ID specified");
            showUsage(); 
            return; 
        } 
 
        try { 
            mImm.setInputMethod(null, id);