static boolean isSecurityNotEnabledException(IOException e) {
    return e instanceof RemoteException
      && SecurityNotEnabledException.class.getName().equals(((RemoteException) e).getClassName());
  }
Returns True if the exception is a fatal connection exception.
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/IPCUtil.java