default exceptions, interfaces, etc.

From: Date: Sat, 22 Mar 2003 21:07:40 +0000
Subject: default exceptions, interfaces, etc.
Groups: php.internals 
Request: Send a blank email to internals+get-149@lists.php.net to get a copy of this message
Hi, Attached is a patch (+ 2 files) that add a default "exception" class to Zend 2. I find this very useful when you just want to throw a simple exception inside of a try {}, but you don't want to create a new exception for each and every error. I'll commit this tommorowish, unless somebody objects. -Sterling -- "Whether you think you can or think you can't -- you are right." - Henry Ford

Attachment: [text/x-patch] interfaces.diff
Attachment: [text/x-c] zend_default_interfaces.c
Attachment: [text/x-c-header] zend_default_interfaces.h
« previous php.internals (#149) next »