From: <php...@li...> - 2006-08-10 15:54:39
|
Hi Etienne, > invoked function's returned exception's type is > lost. $ex->getCause() returns the wrapped exception: function getMyException() { static $MyException = new JavaClass("MyException"); return $MyException; } try { ... } catch (JavaException $ex) { if(java_instanceof($ex->getCause(),getMyException())) { ... } } I'll fix the documentation. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |