instead of simply doing an assert when running out of memory in emem, throw a new...
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 15 Jan 2007 05:16:13 +0000 (05:16 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 15 Jan 2007 05:16:13 +0000 (05:16 +0000)
commit7a691a2473a80490cb5ceaf0bace0986b1bd8842
tree65a493d1fa5798cb206fb7edb6ef6cdf72973b05
parentbe64b743e8bd34cc7e24a4fb594e91d0472efa0c
instead of simply doing an assert when running out of memory in emem, throw a new OutOfMemoryError Exception, so file.c can show at least a better explanation to the user before Wireshark terminates

XXX - to prevent a busy wait, I need a portable way to wait for a short time period, like Sleep() for Windows

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20437 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-ethertype.c
epan/dissectors/packet-frame.c
epan/emem.c
epan/exceptions.h
epan/packet.c
file.c