Add getReturnCode method to PcapNativeException.