[svn:parrot] r37500 - trunk/docs/user/pir
tene at svn.parrot.org
tene at svn.parrot.org
Mon Mar 16 20:56:38 UTC 2009
Author: tene
Date: Mon Mar 16 20:56:37 2009
New Revision: 37500
URL: https://trac.parrot.org/parrot/changeset/37500
Log:
[exceptions.pod]: Add a note about EHs running in the context of the corresponding throw.
Modified:
trunk/docs/user/pir/exceptions.pod
Modified: trunk/docs/user/pir/exceptions.pod
==============================================================================
--- trunk/docs/user/pir/exceptions.pod Mon Mar 16 20:28:32 2009 (r37499)
+++ trunk/docs/user/pir/exceptions.pod Mon Mar 16 20:56:37 2009 (r37500)
@@ -53,6 +53,8 @@
thrown, Parrot iterates through the stack looking for a handler that
can handle the exception. When it finds a valid exception handler,
the exception handler is invoked with the exception as an argument.
+Exception handlers run in the context of the C<throw> that they're
+handling.
You create exception handlers just like you create any other object, with
C<new>.
More information about the parrot-commits
mailing list