develooper Front page | perl.cvs.parrot | Postings from May 2008

[svn:parrot] r27407 - branches/pdd25cx/src/pmc

From:
allison
Date:
May 10, 2008 03:15
Subject:
[svn:parrot] r27407 - branches/pdd25cx/src/pmc
Author: allison
Date: Sat May 10 03:15:31 2008
New Revision: 27407

Modified:
   branches/pdd25cx/src/pmc/scheduler.pmc

Log:
[pdd25cx] Throw an exception when attempting to remove an exception or event handler that doesn't exist.


Modified: branches/pdd25cx/src/pmc/scheduler.pmc
==============================================================================
--- branches/pdd25cx/src/pmc/scheduler.pmc	(original)
+++ branches/pdd25cx/src/pmc/scheduler.pmc	Sat May 10 03:15:31 2008
@@ -424,6 +424,9 @@
                }
             }
         }
+
+	real_exception(interp, NULL, EXCEPTION_INVALID_OPERATION,
+                        "No handler to delete.");
     }
 
 /*



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About