note 14286 added to function.java-last-exception-get.php
| From: | molli at loria dot fr | Date: | Wed, 25 Jul 2001 07:50:51 +0000 |
| Subject: | note 14286 added to function.java-last-exception-get.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15809@lists.php.net to get a copy of this message | ||
Just pay attention to the return value
of java_last_exception_get(), it's an
exception java object.
To use it just call normal operations on a exception java object:
ex:
@$myconnect->execute(); // @ to avoid warning...
$exc=java_last_exception_get();
$res=$exc->getMessage(); // method call on a exception object...
$exres="class nToxic.Connect:login failed";
$this->assert($res == $exres, "$res == $exres");
http://www.php.net/manual/en/function.java-last-exception-get.php