Hi,
are there any plans about implementing the ability to provide throws for
abstract classes?
Example:
---s.cut---
abstract class RDBMS_Connection_Abstract
{
abstract public function connect() throws RDBMS_Connection_Exception;
}
class RDBMS_Connection extends RDBMS_Connection_Abstract
{
public function connect()
{
echo 'implementing connect() without a "throw new
RDBMS_Connection_Exception" should cause a PHP FATAL ERROR.';
}
}
---e.cut---
So, any plans?
Thanks in Advance ...
Attila
--
+------------------------------------+
| First Name..................Attila |
+------------------------------------+
| Last Name..................Strauss |
+------------------------------------+
| Cell Phone.......+49 172 980 43 13 |
+------------------------------------+
| eMail...............attila@php.net |
+------------------------------------+
At 23:50 07/09/2003, Attila Strauss wrote:
Hi,
are there any plans about implementing the ability to provide throws for
abstract classes?
Nope, no plans.
Zeev