java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jnetpcap.PcapException
org.jnetpcap.PcapActivatedException
- All Implemented Interfaces:
Serializable
Indicates that an operation is not permitted on an already activated
pcap handle.
- Author:
- Sly Technologies Inc, repos@slytechs.com
- See Also:
-
Constructor Summary
ConstructorDescriptionPcapActivatedException
(int pcapErrorCode) Instantiates a new pcap activated exception.PcapActivatedException
(int pcapErrorCode, String message) Instantiates a new pcap activated exception. -
Method Summary
Methods inherited from class org.jnetpcap.PcapException
getCode, throwIfNotOk, throwIfNotOk, throwIfNotOk
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PcapActivatedException
public PcapActivatedException(int pcapErrorCode) Instantiates a new pcap activated exception.- Parameters:
pcapErrorCode
- the pcap error code
-
PcapActivatedException
Instantiates a new pcap activated exception.- Parameters:
pcapErrorCode
- the pcap error codemessage
- the message
-