code: public SectionHeader getSectionTableEntry(SectionTable table) {
          Optional<SectionHeader> entry = maybeGetSectionTableEntry(table);
          if (entry.isPresent()) {
              return entry.get();
          }
          throw new IllegalStateException(
                  "there is no section for this data directory entry");
      }
docs: Returns the section table entry of the section that the data directory
  entry is pointing to.
  
  @param table
  @return the section table entry of the section that the data directory
  entry is pointing to
  @throws IllegalStateException
  if data dir entry is not in a section