code: public void onFailure(JoynrException newException) {
          exception = newException;
          status = new RequestStatus(RequestStatusCode.ERROR);
          try {
              statusLock.lock();
              statusLockChangedCondition.signalAll();
          } finally {
              statusLock.unlock();
          }
      }
docs: Terminates the future in error
  
  @param newException
  that caused the failure