From d1be23c0122503f429b2c1c94a73115d24109af8 Mon Sep 17 00:00:00 2001
From: William S Fulton
Date: Sun, 6 Mar 2005 15:44:30 +0000
Subject: [PATCH] Minor additional comments on exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
---
SWIG/Doc/Manual/Customization.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/SWIG/Doc/Manual/Customization.html b/SWIG/Doc/Manual/Customization.html
index 4789f43d0..610df295c 100644
--- a/SWIG/Doc/Manual/Customization.html
+++ b/SWIG/Doc/Manual/Customization.html
@@ -74,7 +74,7 @@ or %noexception with no code. For example:
Compatibility note: Previous versions of SWIG used a special directive %except
-for exception handling. That directive is still supported but is deprecated--%exception
+for exception handling. That directive is deprecated--%exception
provides the same functionality, but is substantially more flexible.
@@ -140,6 +140,8 @@ as the following (shown for Perl5) :
In this case, when an error occurs, it is translated into a Perl error.
+Each target language has its own approach to creating a runtime error/exception in
+and for Perl it is the croak method shown above.
11.1.2 Exception handling with longjmp()