public final class PcapNativeException extends Exception
Constructor and Description |
---|
PcapNativeException() |
PcapNativeException(String message) |
PcapNativeException(String message,
Integer returnCode) |
PcapNativeException(String message,
Throwable cause) |
PcapNativeException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Integer |
getReturnCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PcapNativeException()
public PcapNativeException(String message)
message
- messagepublic PcapNativeException(String message, Integer returnCode)
message
- messagereturnCode
- returnCodepublic PcapNativeException(String message, Throwable cause)
message
- messagecause
- causepublic PcapNativeException(Throwable cause)
cause
- causepublic Integer getReturnCode()
Copyright © 2011–2016 Pcap4J.org. All rights reserved.