summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert; obviously I missed the function at the bottom of the file...Wez Furlong2004-05-201-1/+1
|
* Export this, so extensions may throw their own exception objects thatWez Furlong2004-05-201-1/+1
| | | | | they have already instantiated.
* Fix c++ buildsMarcus Boerger2004-04-281-1/+1
|
* - Add hook for exception handler (Derick)Andi Gutmans2004-04-131-0/+2
|
* Centralize exceptions code in zend_exceptions.[ch].Zeev Suraski2004-02-121-3/+10
| | | | | | | | Remove zend_default_classes.h (use zend_exceptions.h instead) NOTE: This currently breaks the build, fixes to php-src and pecl coming soon
* Exceptions updates:Zeev Suraski2004-02-121-0/+1
| | | | | | | | - Enforce exceptions to be derived from class Exception. This allows users to perform catch-all. It's not yet complete, so don't get comfortable with it just yet :) Updates are coming soon. - Implement zend_throw_exception() using zend_throw_exception_ex()
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* - Calling abstract methods should be a error for consistency reason.Marcus Boerger2003-08-301-1/+0
| | | | | - So in reflection_api we use the reflection_exception again.
* - The compiler can't detect all abstract function calls so we need to check.Marcus Boerger2003-08-301-0/+1
| | | | | | # In this case throwing a dedicated exception is better than the error we # show when the compiler can detect the abstract call because its run-time.
* Add zend_throw_exception_ex() which allows to format exception messages.Marcus Boerger2003-08-281-0/+1
| | | | | | | | | # # Since we don't have any portable way of printing into a dynamic buffer i # used a stack buffer of 1K (just like the error printing) and used a dynamic # buffer in case the necessary function is available. #
* Allow to throw instances of classes derived from exceptionMarcus Boerger2003-08-241-2/+8
|
* - Provide a unified way to display uncaught exceptions, which showsMarcus Boerger2003-08-241-0/+1
| | | | | | | file/line/message info if possible. - Add zend_eval_string_ex() to be able to handle exceptions in eval'd code. - Use above function to fix memleaks in CLI.
* Allow zend_throw_exception() to also set the exception codeMarcus Boerger2003-08-231-1/+1
|
* Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);'Marcus Boerger2003-08-211-0/+1
| | | | | to provide an easy way to throw exceptions for extension developers.
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* semicolonSterling Hughes2003-05-041-1/+1
|
* protoSterling Hughes2003-05-031-0/+1
|
* DEFAULT_CLASSES_H not DEFAULT_INTERFACES_HSterling Hughes2003-03-231-2/+2
|
* add a standard Exception class.Sterling Hughes2003-03-231-0/+38