aboutsummaryrefslogtreecommitdiffstats
path: root/epan/exceptions.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-01-16 16:06:15 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-01-16 16:06:15 +0000
commit1c9781b4ec6e907548bf144f04bd2de850c38b76 (patch)
treed5c476ab5cc45bb308d2bf464913b3d7805504c2 /epan/exceptions.h
parent491ceb39058e9038aba4f35bae505f1af031a120 (diff)
throw the new FieldError exception, if a dissector tries to add a field with invalid parameters
add a message parameter to the show_exception function svn path=/trunk/; revision=13074
Diffstat (limited to 'epan/exceptions.h')
-rw-r--r--epan/exceptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/exceptions.h b/epan/exceptions.h
index a16b892565..343794382e 100644
--- a/epan/exceptions.h
+++ b/epan/exceptions.h
@@ -12,6 +12,7 @@
#define BoundsError 1 /* Index is out of range */
#define ReportedBoundsError 2 /* Index is beyond reported length (not cap_len) */
#define TypeError 3 /* During dfilter parsing */
+#define FieldError 4 /* A buggy dissector tried to add a field with invalid parameters */
/* Usage:
*