code: public void reportGenericFailure(SmackWrappedException exception) {
          assert exception != null;
          connectionLock.lock();
          try {
              state = State.Failure;
              this.smackWrappedExcpetion = exception;
              condition.signalAll();
          }
          finally {
              connectionLock.unlock();
          }
      }
docs: Report this synchronization point as failed because of the given exception. The {@code failureException} must be set.
  
  @param exception the exception causing this synchronization point to fail.