static IOException toIOE(Throwable t) {
    if (t instanceof IOException) {
      return (IOException) t;
    } else {
      return new IOException(t);
    }
  }
Returns True if the exception is a fatal connection exception.
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java