- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.pcap4j.core.PcapNativeException
-
- All Implemented Interfaces:
java.io.Serializable
public final class PcapNativeException extends java.lang.Exception- Since:
- pcap4j 0.9.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.IntegerreturnCodeprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description PcapNativeException()PcapNativeException(java.lang.String message)PcapNativeException(java.lang.String message, java.lang.Integer returnCode)PcapNativeException(java.lang.String message, java.lang.Throwable cause)PcapNativeException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetReturnCode()(package private) voidsetReturnCode(java.lang.Integer returnCode)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
returnCode
private java.lang.Integer returnCode
-
-
Constructor Detail
-
PcapNativeException
public PcapNativeException()
-
PcapNativeException
public PcapNativeException(java.lang.String message)
- Parameters:
message- message
-
PcapNativeException
public PcapNativeException(java.lang.String message, java.lang.Integer returnCode)- Parameters:
message- messagereturnCode- returnCode
-
PcapNativeException
public PcapNativeException(java.lang.String message, java.lang.Throwable cause)- Parameters:
message- messagecause- cause
-
PcapNativeException
public PcapNativeException(java.lang.Throwable cause)
- Parameters:
cause- cause
-
-