3 Mar 2008 19:40
Re: Fatal error: Exception thrown without a stack frame in Unknown on line 0
Throwing exceptions from the error handler can be tricky. Make sure there are no errors in you handler code (not even notices) also remember that you can not throw an exception from the exception handler itself (or from the calls it does). iván On Mon, Mar 3, 2008 at 6:50 PM, Rick Hopkins <rick.hopkins@...> wrote: > I am working on a new MVC based system and have been utilizing PHPTAL > for the interface side of things. I am running into a problem though > when I try to catch exceptions. I have labeled my new framework > "Melodic". I have a static class called "MelodicException" which should > catch all the exceptions and process them. I have set_exception_handler > so that it will pass everything into MelodicException. So anyway I keep > getting the message below in my exception handler. > > Fatal error: Exception thrown without a stack frame in Unknown on line 0 > > Here is the exception handler code... > > <?php > /** > * <at> name MelodicException > * The default exception handling class for the Melodic Framework > * <at> author Rick Hopkins > * <at> package Melodic > */ > > class MelodicException > {(Continue reading)
RSS Feed