Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Allow to throw instances of classes derived from exception | Marcus Boerger | 2003-08-24 | 1 | -4/+13 | |
| | ||||||
* | - Provide a unified way to display uncaught exceptions, which shows | Marcus Boerger | 2003-08-24 | 1 | -0/+21 | |
| | | | | | | | 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. | |||||
* | Make use method macros | Marcus Boerger | 2003-08-24 | 1 | -10/+10 | |
| | ||||||
* | Add property read code and use that in default exception class | Marcus Boerger | 2003-08-24 | 1 | -9/+7 | |
| | ||||||
* | Allow zend_throw_exception() to also set the exception code | Marcus Boerger | 2003-08-23 | 1 | -16/+8 | |
| | ||||||
* | Exception has 4 protected default properties (message,code,file,line). | Marcus Boerger | 2003-08-23 | 1 | -14/+30 | |
| | | | | | They are all initialized at c-level constructor correctly. | |||||
* | Make exception code more robust | Marcus Boerger | 2003-08-23 | 1 | -16/+11 | |
| | ||||||
* | Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);' | Marcus Boerger | 2003-08-21 | 1 | -0/+25 | |
| | | | | | to provide an easy way to throw exceptions for extension developers. | |||||
* | added support for Reflection_Function, the first part of | George Schlossnagle | 2003-06-30 | 1 | -0/+2 | |
| | | | | | the reflection api | |||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -1/+1 | |
| | ||||||
* | add an accessor for the default exception | Sterling Hughes | 2003-05-03 | 1 | -0/+5 | |
| | ||||||
* | ZTS fix. | Sebastian Bergmann | 2003-03-23 | 1 | -1/+1 | |
| | ||||||
* | Add new files to ZendTS.dsp. Sync list of files in Zend.dsp with ZendTS.dsp. ↵ | Sebastian Bergmann | 2003-03-23 | 1 | -7/+7 | |
| | | | | ZTS fixes. | |||||
* | add a standard Exception class. | Sterling Hughes | 2003-03-23 | 1 | -0/+135 | |