Mantis Bugtracker
  

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

- Relationships

- 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
 

- Issue History
Date Modified Username Field Change
05-22-06 16:31 koreth New Issue
05-22-06 16:49 koreth Note Added: 0001180
05-23-06 20:19 ferg Note Added: 0001238
05-23-06 20:19 ferg Assigned To  => ferg
05-23-06 20:19 ferg Status new => closed
05-23-06 20:19 ferg Resolution open => fixed
05-23-06 20:19 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker