#
f1c92fa4 |
| 30-Aug-2003 |
Marcus Boerger |
- Calling abstract methods should be a error for consistency reason. - So in reflection_api we use the reflection_exception again. |
#
80c0cdf7 |
| 30-Aug-2003 |
Marcus Boerger |
Even though it is ignored this should be correct |
#
655f2dc5 |
| 30-Aug-2003 |
Marcus Boerger |
Add frame numer and finally display stack trace in the message. # # And voila - nice useable and helpfull exceptions in PHP. # Now we need to tell ppl 'anyway don't use them if possible'.
Add frame numer and finally display stack trace in the message. # # And voila - nice useable and helpfull exceptions in PHP. # Now we need to tell ppl 'anyway don't use them if possible'. #
show more ...
|
#
c80eb457 |
| 30-Aug-2003 |
Marcus Boerger |
Add exception::traceAsString() and exception::toString() |
#
f7f49e45 |
| 30-Aug-2003 |
Marcus Boerger |
- The compiler can't detect all abstract function calls so we need to check. # In this case throwing a dedicated exception is better than the error we # show when the compiler can detect the
- The compiler can't detect all abstract function calls so we need to check. # 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.
show more ...
|
#
ad31a021 |
| 30-Aug-2003 |
Marcus Boerger |
Make those final (see comment) |
#
bdd2d4aa |
| 29-Aug-2003 |
Marcus Boerger |
Need to tell zend_fetch_debug_backtrace() whether to skip top function or not. # And i wondered why the trace wasn't rally accurate. |
#
b3f3ddd1 |
| 28-Aug-2003 |
Marcus Boerger |
Add public read access to protected |
#
fa70708d |
| 28-Aug-2003 |
Marcus Boerger |
Add zend_throw_exception_ex() which allows to format exception messages. # # Since we don't have any portable way of printing into a dynamic buffer i # used a stack buffer of 1K (just lik
Add zend_throw_exception_ex() which allows to format exception messages. # # 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. #
show more ...
|
#
8d3620ae |
| 28-Aug-2003 |
Marcus Boerger |
- Split debug_backtrace() into lowlevel c function and php function wrapper - Add trace property to default method based on new zend_fetch_debug_backtrace # Unforunatley the handler for uncau
- Split debug_backtrace() into lowlevel c function and php function wrapper - 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.
show more ...
|
Revision tags: php-4.3.3 |
|
#
19ec7a09 |
| 24-Aug-2003 |
Marcus Boerger |
- Provide appropriate way to destroy internal zval's. - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of c
- Provide appropriate way to destroy internal zval's. - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of ctor.
show more ...
|
#
4e5e7502 |
| 24-Aug-2003 |
Marcus Boerger |
Allow to throw instances of classes derived from exception |
#
d3473d1f |
| 24-Aug-2003 |
Marcus Boerger |
- Provide a unified way to display uncaught exceptions, which shows file/line/message info if possible. - Add zend_eval_string_ex() to be able to handle exceptions in eval'd code. - Use
- Provide a unified way to display uncaught exceptions, which shows 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.
show more ...
|
#
d4cf96c5 |
| 24-Aug-2003 |
Marcus Boerger |
Make use method macros |
#
38805f28 |
| 24-Aug-2003 |
Marcus Boerger |
Add property read code and use that in default exception class |
#
c3d60fd7 |
| 23-Aug-2003 |
Marcus Boerger |
Allow zend_throw_exception() to also set the exception code |
#
96fa63d6 |
| 23-Aug-2003 |
Marcus Boerger |
Exception has 4 protected default properties (message,code,file,line). They are all initialized at c-level constructor correctly. |
#
43334207 |
| 23-Aug-2003 |
Marcus Boerger |
Make exception code more robust |
#
0e32aaa8 |
| 21-Aug-2003 |
Marcus Boerger |
Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);' to provide an easy way to throw exceptions for extension developers. |
Revision tags: php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2 |
|
#
aa96d170 |
| 30-Jun-2003 |
George Schlossnagle |
added support for Reflection_Function, the first part of the reflection api |
Revision tags: php-5.0.0b1, php-4.3.3RC1 |
|
#
f68c7ff2 |
| 10-Jun-2003 |
James Cox |
updating license information in the headers. |
Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b |
|
#
6f32f79c |
| 03-May-2003 |
Sterling Hughes |
add an accessor for the default exception |
Revision tags: SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init |
|
#
2698a4bd |
| 23-Mar-2003 |
Sebastian Bergmann |
ZTS fix. |
#
2dc388e7 |
| 23-Mar-2003 |
Sebastian Bergmann |
Add new files to ZendTS.dsp. Sync list of files in Zend.dsp with ZendTS.dsp. ZTS fixes. |
#
e6dfbc95 |
| 23-Mar-2003 |
Sterling Hughes |
add a standard Exception class. |