On Dec 14, 2007, at 2:53 PM, Ben Sgro wrote:
Hello again!

In this code sample,

          try
          {
              call_user_func($faSet, $this->getArguments($argSet));
          }
          catch ( customException $e )
          {
              throw new $exceptionToThrow;
          }

Exceptions will bubble all the way up to the first place the code was called from... so usually you don't have to catch an exception just to throw another one.

_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to