> Your example is interesting. It shows an error that would be continuable
> from an engine's point of view but not from the script's point of view. It
> shows that there should not be any possibility to recover from exceptions
> at the exact spot where the exception was thrown - anyway somthing that
> violates the general exception idea (see Stanislav's mail on local stack
> corruption...).

Java has the concept of an "Error" (extended from Throwable which is
extended to be Exception too) which "indicates serious problems that a
reasonable application should not try to catch. Most such errors are
abnormal conditions."
Perhaps normal E_ERROR => Exception, and totally fatal errors => Error. You
can catch Errors too, but it's specifically said that you really shouldn't
try.

Jevon

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to