summaryrefslogtreecommitdiff
path: root/asn1/tcap/tcap.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/tcap/tcap.cnf')
-rw-r--r--asn1/tcap/tcap.cnf7
1 files changed, 2 insertions, 5 deletions
diff --git a/asn1/tcap/tcap.cnf b/asn1/tcap/tcap.cnf
index ae28bd5839..c32c6ae20f 100644
--- a/asn1/tcap/tcap.cnf
+++ b/asn1/tcap/tcap.cnf
@@ -94,11 +94,8 @@ if (!next_tvb)
TRY {
%(DEFAULT_BODY)s
}
-CATCH(BoundsError) {
- RETHROW;
-}
-CATCH(ReportedBoundsError) {
- show_reported_bounds_error(tvb, actx->pinfo, tree);
+CATCH_NONFATAL_ERRORS {
+ show_exception(tvb, actx->pinfo, tree, EXCEPT_CODE, GET_MESSAGE);
}
ENDTRY;