Mantis - Resin
Viewing Issue Advanced Details
1142 minor always 05-22-06 16:31 05-23-06 20:19
koreth  
ferg  
normal  
closed 3.0.20  
fixed  
none    
none 3.0.20  
0001142: Exception::getMessage not defined
PHP:

<?php
try {
        throw new Exception("hi there");
} catch (Exception $e) {
        print "Caught exception: " . $e->getMessage() . "\n";
}
?>

This prints "Caught exception: hi there" on Zend PHP. Quercus complains that Exception::getMessage is an unknown method.
060522 snapshot

Notes
(0001180)
koreth   
05-22-06 16:49   
Also getFile(), getLine(), etc. -- see http://www.php.net/manual/en/language.exceptions.php. [^] We use getTraceAsString(), getFile(), getLine(), getMessage(), and getCode().
(0001238)
ferg   
05-23-06 20:19   
php/0g06