@Override
  public void write(byte @NotNull [] b, int off, int len) throws IOException {
    try {
      myOutputStream.write(b, off, len);
    }
    catch (IOException e) {
      myFailed = true;
      throw e;
    }
  }
@Override
  public void write(byte @NotNull [] b, int off, int len)