Re: [VOTE] Exceptions in the engine

From: Date: Sat, 16 May 2015 19:14:15 +0000
Subject: Re: [VOTE] Exceptions in the engine
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

>> The thrown object must be an instance of the Exception class or a subclass of Exception.

This is still true for objects that are thrown from userspace, AFAIK. If
not, we can make it true, I have no objection to it. This however gives
your no guarantee catch(Exception) catches everything that can happen
inside the code under catch.
-- 
Stas Malyshev
[email protected]


Thread (75 messages)

« previous php.internals (#86259) next »