class Pcaps {

  public static String dataLinkValToDescription(int dataLinkVal) throws PcapNativeException {
    String descr = NativeMappings.pcap_datalink_val_to_description(dataLinkVal);
    if (descr == null) {
      throw new PcapNativeException(
          "Failed to convert the data link value to the description: " + dataLinkVal);
    }
    return descr;
  }

  private  Pcaps();

}