Anonymous | Login | Signup for a new account | 12-17-2024 08:48 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001142 | [Resin] | minor | always | 05-22-06 16:31 | 05-23-06 20:19 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.0.20 | ||||||
Summary | 0001142: Exception::getMessage not defined | ||||||||
Description |
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. |
||||||||
Additional Information | 060522 snapshot | ||||||||
Attached Files | |||||||||
|
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 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |