ðÒÉ×ÅÔ!
Garland Foster wrote:
> Alberto,
>
> I might have expressed the problem wrongly, if you have lets suposse you
> have:
> $obj = new foo();
> $obj->some();
> And some might return an "exception" object.
>
> The problem is that some may call a lot of other methods from foo and I
> don't
Alberto,
I might have expressed the problem wrongly, if you have lets suposse you
have:
$obj = new foo();
$obj->some();
And some might return an "exception" object.
The problem is that some may call a lot of other methods from foo and I
don't want to check if the return value of each method ca
ðÒÉ×ÅÔ!
Garland Foster wrote:
> Hi All,
>
> I'm porting Java Code to PHP, my question is: What is the best approach
> to emulate Java exceptions in PHP4? (I know ZE2 adds exceptions but I
> can't wait).
If the exceptions you have to manage are code generated at runtime you
actually may simpl
3 matches
Mail list logo