java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jnetpcap.PcapHeaderException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PcapHeaderException.OutOfRangeException
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Reports an out of range error for a value of native Pcap header field. -
Constructor Summary
ConstructorDescriptionPcapHeaderException
(String message) Instantiates a new pcap header exception.PcapHeaderException
(String message, Throwable cause) Instantiates a new pcap header exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PcapHeaderException
Instantiates a new pcap header exception.- Parameters:
message
- the message
-
PcapHeaderException
Instantiates a new pcap header exception.- Parameters:
message
- the messagecause
- the cause
-