Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001455 [Quercus] major always 11-13-06 05:45 06-05-07 10:05
Reporter dberry View Status public  
Assigned To nam
Priority normal Resolution fixed  
Status closed   Product Version 3.0.21
Summary 0001455: Need a way to catch Java Exceptions in PHP
Description The zend methods java_last_exception_get() and java_last_exception_clear() are not implemented and the error_reporting() method also seems to have no affect on java exceptions.

Resin returns a Servlet exception error in the http response. There are many non-fatal exceptions that get thrown from Java which are causing a fatal result in PHP

Additional Information
Attached Files

- Relationships

- Notes
(0001896)
nam
05-03-07 14:11
edited on: 05-03-07 14:15

since 3.1.1

We've added the capability to catch Java Exception by using a PHP try-catch block. The catch block must catch an 'Exception' type. Java Throwables will not be caught.

i.e:

<?php
try {

}
catch (Exception e) {
}

?>

 
(0002006)
nam
06-05-07 10:05

php/0g10
 

- Issue History
Date Modified Username Field Change
11-13-06 05:45 dberry New Issue
01-05-07 08:59 KnisterPeter Issue Monitored: KnisterPeter
05-01-07 22:23 nam Status new => assigned
05-01-07 22:23 nam Assigned To  => nam
05-03-07 14:11 nam Note Added: 0001896
05-03-07 14:11 nam Note Edited: 0001896
05-03-07 14:15 nam Note Edited: 0001896
06-05-07 10:05 nam Status assigned => closed
06-05-07 10:05 nam Note Added: 0002006
06-05-07 10:05 nam Resolution open => fixed
06-05-07 10:05 nam Fixed in Version  => 3.1.2


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