Module org.jnetpcap
Package org.jnetpcap

Class PcapHeaderException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PcapHeaderException.OutOfRangeException

public class PcapHeaderException extends RuntimeException
Reports any packet header runtime errors. The exception attempts to catch error states for invalid C pkt_hdr structure values or if invalid ABI (Application Binary Interface) has been assigned based on system and capture attributes such as hardware architecture, whether the capture is live or offline and if integer byte are swapped or not in the offline file.
Author:
Sly Technologies Inc, repos@slytechs.com
See Also:
  • Constructor Details

    • PcapHeaderException

      public PcapHeaderException(String message)
      Instantiates a new pcap header exception.
      Parameters:
      message - the message
    • PcapHeaderException

      public PcapHeaderException(String message, Throwable cause)
      Instantiates a new pcap header exception.
      Parameters:
      message - the message
      cause - the cause