Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Add new class ErrorException to encapsulate errors in exceptions | Marcus Boerger | 2004-07-15 | 1 | -15/+93 | |
| | ||||||
* | Revert; obviously I missed the function at the bottom of the file... | Wez Furlong | 2004-05-20 | 1 | -1/+1 | |
| | ||||||
* | Export this, so extensions may throw their own exception objects that | Wez Furlong | 2004-05-20 | 1 | -1/+1 | |
| | | | | | they have already instantiated. | |||||
* | Classnames shall start with an uppercase character | Marcus Boerger | 2004-04-13 | 1 | -1/+1 | |
| | ||||||
* | - Add hook for exception handler (Derick) | Andi Gutmans | 2004-04-13 | 1 | -0/+5 | |
| | ||||||
* | - Fix crash in exception handling (zend_exception_error(...) and | Andi Gutmans | 2004-03-01 | 1 | -3/+1 | |
| | | | | | zend_eval_string_ex() were buggy (Dmitry, Andi) | |||||
* | Improve error messages | foobar | 2004-02-25 | 1 | -3/+3 | |
| | ||||||
* | - Fixed bug #27391 (typo in Fatal Error message). | Derick Rethans | 2004-02-25 | 1 | -1/+1 | |
| | ||||||
* | Centralize exceptions code in zend_exceptions.[ch]. | Zeev Suraski | 2004-02-12 | 1 | -11/+42 | |
| | | | | | | | | 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 Suraski | 2004-02-12 | 1 | -27/+22 | |
| | | | | | | | | - 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() | |||||
* | Fix bug #27186 | Zeev Suraski | 2004-02-10 | 1 | -47/+61 | |
| | ||||||
* | Rewrote exception support. Fixes a few limitations and bugs in the old | Zeev Suraski | 2004-02-03 | 1 | -2/+2 | |
| | | | | | | | | | | | implementation, and allows exceptions to 'fire' much earlier than before. Instructions on how to use the new mechanism will follow on internals@ shortly... Note - this (most probably) breaks the current implementation of set_exception_handler() | |||||
* | Fix internal access to exception properties | Marcus Boerger | 2004-01-22 | 1 | -14/+14 | |
| | ||||||
* | - Happy new year and PHP 5 for rest of the files too.. | foobar | 2004-01-08 | 1 | -1/+1 | |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | |||||
* | Do not show exception message if it's empty. | Andrei Zmievski | 2004-01-02 | 1 | -4/+10 | |
| | | | | | # Is there a way to preserve the case of the exception class here? | |||||
* | Make default message look better. | Andrei Zmievski | 2003-12-31 | 1 | -1/+1 | |
| | ||||||
* | Show the exception message again after __toString() magic has been dropped. | Marcus Boerger | 2003-12-06 | 1 | -8/+12 | |
| | ||||||
* | Fixed crash demonstrated with ext/dom/tests/dom003.phpt test case. | Ilia Alshanetsky | 2003-12-05 | 1 | -3/+3 | |
| | ||||||
* | Check return value of exception::__tostring() | Marcus Boerger | 2003-11-30 | 1 | -39/+6 | |
| | ||||||
* | Make exception code more robust: | Marcus Boerger | 2003-11-29 | 1 | -9/+40 | |
| | | | | | | | - Fix error in calculation of trace-string length - Allow to overload __strostring() and make it work for uncaught exceptions - Show exception thrown while displaying exceptions | |||||
* | This forces a better error message for non working clone calls. | Marcus Boerger | 2003-10-25 | 1 | -0/+1 | |
| | ||||||
* | And use things to throw an exception here | Marcus Boerger | 2003-10-25 | 1 | -2/+3 | |
| | ||||||
* | You shall not clone Exception instances | Marcus Boerger | 2003-10-25 | 1 | -0/+7 | |
| | ||||||
* | Impement userspace iterator interfaces and tests. See tests for details | Marcus Boerger | 2003-10-22 | 1 | -0/+2 | |
| | | | | | on the names. | |||||
* | The string conversion method should be named __toString() | Marcus Boerger | 2003-10-22 | 1 | -5/+5 | |
| | ||||||
* | Added c-api for iterators | Marcus Boerger | 2003-10-17 | 1 | -0/+1 | |
| | | | | | # After 4 Month work and endless discussions... | |||||
* | Fix cast function | Marcus Boerger | 2003-10-15 | 1 | -3/+3 | |
| | ||||||
* | Use studlyCaps in exception class | Marcus Boerger | 2003-09-17 | 1 | -14/+14 | |
| | ||||||
* | Use type instead of constant | Marcus Boerger | 2003-09-11 | 1 | -1/+1 | |
| | ||||||
* | Disallow to changing the backtrace | Marcus Boerger | 2003-09-06 | 1 | -1/+1 | |
| | ||||||
* | Provide string casting for exceptions by calling toString() | Marcus Boerger | 2003-09-05 | 1 | -2/+21 | |
| | ||||||
* | Fix handling of static properties initialized to arrays | Marcus Boerger | 2003-09-03 | 1 | -6/+6 | |
| | ||||||
* | Don't loose information if no parameters were shown. | Marcus Boerger | 2003-09-01 | 1 | -1/+4 | |
| | | | | | # Noticed by Sebatian Bergmann | |||||
* | Show {main} and prevent showing empty stack traces | Marcus Boerger | 2003-09-01 | 1 | -6/+11 | |
| | ||||||
* | Clearify this | Marcus Boerger | 2003-09-01 | 1 | -2/+7 | |
| | ||||||
* | Revert what I think is an accidental commit by Marcus that slipped in at ↵ | Sebastian Bergmann | 2003-09-01 | 1 | -1/+1 | |
| | | | | revision 1.23. Declaring getMessage() as final is a PITA, so I hope it will not come to that. | |||||
* | Excluded chars < 32 when displaying string parameters that would obliterate ↵ | Marcus Boerger | 2003-08-31 | 1 | -2/+12 | |
| | | | | output. | |||||
* | Make vspprintf available as zend utility function. Use it in exception output. | Marcus Boerger | 2003-08-31 | 1 | -13/+4 | |
| | ||||||
* | Actually fetch the parameter | Marcus Boerger | 2003-08-30 | 1 | -0/+1 | |
| | ||||||
* | - Calling abstract methods should be a error for consistency reason. | Marcus Boerger | 2003-08-30 | 1 | -9/+0 | |
| | | | | | - So in reflection_api we use the reflection_exception again. | |||||
* | Even though it is ignored this should be correct | Marcus Boerger | 2003-08-30 | 1 | -1/+1 | |
| | ||||||
* | Add frame numer and finally display stack trace in the message. | Marcus Boerger | 2003-08-30 | 1 | -7/+32 | |
| | | | | | | | | # # And voila - nice useable and helpfull exceptions in PHP. # Now we need to tell ppl 'anyway don't use them if possible'. # | |||||
* | Add exception::traceAsString() and exception::toString() | Marcus Boerger | 2003-08-30 | 1 | -4/+197 | |
| | ||||||
* | - The compiler can't detect all abstract function calls so we need to check. | Marcus Boerger | 2003-08-30 | 1 | -3/+12 | |
| | | | | | | # 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. | |||||
* | Make those final (see comment) | Marcus Boerger | 2003-08-30 | 1 | -5/+9 | |
| | ||||||
* | Need to tell zend_fetch_debug_backtrace() whether to skip top function or not. | Marcus Boerger | 2003-08-29 | 1 | -1/+1 | |
| | | | | | # And i wondered why the trace wasn't rally accurate. | |||||
* | Add public read access to protected | Marcus Boerger | 2003-08-28 | 1 | -0/+8 | |
| | ||||||
* | Add zend_throw_exception_ex() which allows to format exception messages. | Marcus Boerger | 2003-08-28 | 1 | -0/+47 | |
| | | | | | | | | | # # 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. # | |||||
* | - Split debug_backtrace() into lowlevel c function and php function wrapper | Marcus Boerger | 2003-08-28 | 1 | -0/+9 | |
| | | | | | | | | - Add trace property to default method based on new zend_fetch_debug_backtrace # Unforunatley the handler for uncaught exception can't show this backtrace # simply because there is currently no way to do it. If i can think of a # solution i'll add it. Until them i am open to any ideas/help. | |||||
* | - Provide appropriate way to destroy internal zval's. | Marcus Boerger | 2003-08-24 | 1 | -2/+1 | |
| | | | | | | - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of ctor. |