summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.h
Commit message (Collapse)AuthorAgeFilesLines
* fix length data typesAnatol Belski2014-09-191-2/+2
|
* several signature and data type fixesAnatol Belski2014-08-261-3/+3
|
* Added vstrpprintf strpprintf to avoid duplicate stringXinchen Hui2014-05-101-0/+1
| | | | (the function name maybe improvement)
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-5/+5
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Make message and format arguments const char * to avoidRemi Collet2013-09-231-4/+4
| | | | build warning about invalid cast.
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - Reverted unintended modificationFelipe Pena2010-08-181-1/+1
|
* align declaration with definitionSascha Schumann2010-08-171-1/+1
| | | | | (patch by kalle)
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* - MFH Catch exceptions in cli -aMarcus Boerger2009-01-021-2/+2
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH Improve exception linkingMarcus Boerger2008-08-141-1/+3
|
* - MFH Exception handlingMarcus Boerger2008-07-131-0/+2
| | | | | | | | | | [DOC] - Exceptions can be thrown while exceptions are pending, they are linked - Exceptions can be handled in __destruct - Add optional Exception $previous parameter to . Exception::__construct . ErrorException::__construct
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - MFH as discussedMarcus Boerger2006-05-091-3/+6
| | | | | | | | | | | | | | | | | | | | | . zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D) . zend_get_error_exception() -> zend_get_error_exception(TSRMLS_D) . added E_RECOVERABLE_ERROR . added ZEND_TOSTRING_FUNC_NAME . added __tostring function cache to zend_class_entry . added ZEND_NAMED_ME . modified ZEND_ME_MAPPING to support method flags . added ZEND_MN . method entries now use prefix "zim_" instead of "zif_" . drop EG(ze1_compatibility_mode) . changed cast handler, now without (int should_free): typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC); . changed get_iterator, now receives whether value is by ref: zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); . added zend_objects_store_add_ref_by_handle . added zend_objects_store_del_ref_by_handle . convert_to_explicit_type(pzv, type)
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* - Add new class ErrorException to encapsulate errors in exceptionsMarcus Boerger2004-07-151-2/+5
|
* 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