m.setReply(new DBusErrorMessage(m, new DBusExecutionException("Message Failed to Send: "+e.getMessage()))); else if (m instanceof MethodReply)
m.setReply(new Error(m, new DBusExecutionException("Message Failed to Send: "+e.getMessage()))); else if (m instanceof MethodReturn)
   private void sendMessage(DBusMessage m)   {      try {         transport.mout.writeMessage(m);         if (m instanceof MethodCall) {            if (0 == (flags & MethodCall.NO_REPLY))               synchronized (pendingCalls) {                  pendingCalls.put(m.getSerial(),(MethodCall) m);               }         }      } catch (Exception e) {         if (DBusConnection.EXCEPTION_DEBUG) e.printStackTrace();         if (m instanceof MethodCall && e instanceof DBusExecutionException)             m.setReply(new DBusErrorMessage(m, DBEe));         else if (m instanceof MethodCall)            m.setReply(new DBusErrorMessage(m, new DBusExecutionException("Message Failed to Send: "+e.getMessage())));         else if (m instanceof MethodReply)            transport.mout.write(new Error(m, Message.ArgumentType.STRING_STRING, "Error sending reply: "+e. getMessage()));      }      }