public synchronized void setException(@NotNull Throwable e) {
    assertNotSet();

    myValue = Pair.create(e, false);
    mySema.release();
  }
public synchronized void setException(@NotNull Throwable e)