On 11.01.2006 00:41, Marcus Boerger wrote:
Hello Antony,

  in general modifying exception data is vey dangerous because first it
leads to confusion on the usage part and second it might lead to sever
problems in the engine facilities that deal with them. That this in a
few cases worked does not mean it works in all cases it mybe be used.

Actually, the code doesn't modify any data there, but copies it instead.
That is: create new object, copy data from the old one, update few properties.

To prevent us from adding all the stuff Java invented to deal more
gracefull with exceptions starting with the ability to handle more than
one exception at a time i would like to stay with the KISS approach and
have them as easy as possible.

I realize that it's relatively easy to implement this in PHP, but in the same time I don't see in what way adding this function violates the KISS approach. Could you plz elaborate?

--
Wbr, Antony Dovgal

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to