google-code-export / gwtphp-derpc

Automatically exported from code.google.com/p/gwtphp-derpc
1 stars 0 forks source link

Cannot redeclare class IllegalArgumentException #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create GWT project
2. Create a gwtphp service call that throws IllegalArgumentException

What do you see instead?
PHP Fatal error:  Cannot redeclare class IllegalArgumentException in ....

What version of the product are you using? On what operating system?
r5, Linux/GWT 2.3

Please provide any additional information below.
IllegalArgumentException.php is generated and included in the service.php file 
and declares IllegalArgumentException, which is also already included from 
phprpc/exception.php. This problem will of course be there for any other 
exception declared in phprpc/exception.php.

Original issue reported on code.google.com by lightwor...@gmail.com on 18 May 2011 at 7:47

GoogleCodeExporter commented 9 years ago
I added a configuration-property to manage all exclude types from php 
generating.
Can you test it ? (r6)

Original comment by mathieu....@gmail.com on 19 May 2011 at 9:28

GoogleCodeExporter commented 9 years ago
No problem. I will test it and let you know the result.

Op 19-05-11 23:29, gwtphp-derpc@googlecode.com schreef:

Original comment by lightwor...@gmail.com on 19 May 2011 at 10:58

GoogleCodeExporter commented 9 years ago
Confirmed. The excludeJavaExceptionToPhp config parameters works. Those 
exception classes are not generated anymore.

Original comment by lightwor...@gmail.com on 20 May 2011 at 10:12

GoogleCodeExporter commented 9 years ago

Original comment by mathieu....@gmail.com on 23 May 2011 at 8:00