java.lang.Object
java.lang.Throwable
java.lang.Exception
org.pcap4j.core.PcapNativeException
- All Implemented Interfaces:
Serializable
- Since:
- pcap4j 0.9.1
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPcapNativeException(String message) PcapNativeException(String message, Integer returnCode) PcapNativeException(String message, Throwable cause) PcapNativeException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
returnCode
-
-
Constructor Details
-
PcapNativeException
public PcapNativeException() -
PcapNativeException
- Parameters:
message- message
-
PcapNativeException
- Parameters:
message- messagereturnCode- returnCode
-
PcapNativeException
- Parameters:
message- messagecause- cause
-
PcapNativeException
- Parameters:
cause- cause
-
-
Method Details
-
getReturnCode
- Returns:
- the return code if the native function which caused this exception returned it; otherwise null.
-
setReturnCode
-