note 14286 deleted from function.java-last-exception-get by sobak

From: Date: Sun, 20 Nov 2016 16:04:16 +0000
Subject: note 14286 deleted from function.java-last-exception-get by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207242@lists.php.net to get a copy of this message
Note Submitter: molli at loria dot fr ---- 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");

« previous php.notes (#207242) next »