@ApiStatus.Internal
  @Deprecated
  public IOException toIOException() {
    final Throwable cause = getCause();
    return cause instanceof IOException ? (IOException)cause : new IOException(this);
  }
@ApiStatus.Internal
  @Deprecated
  public IOException toIOException()