From: Jost B. <jos...@ya...> - 2005-09-17 15:14:36
|
Hi, > Fatal error: Uncaught > [o(Exception):"java.lang.Exception: In PHP4 the exception would be a warning which could be suppressed with @ Example: $null = @new java("java.lang.String", null); $ex = java_last_exception_get(); echo "val: $null, ex: $ex\n"; The above code would display "val: , Object" in PHP4. > So, is there anyway to handle those cases gracefully > (except for upgrading > to PHP 5)? The above exception message ("Uncaught...") makes me believe that you already use PHP5 or above. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |