diff options
| author | Sam Ruby <rubys@php.net> | 2000-07-08 10:35:50 +0000 |
|---|---|---|
| committer | Sam Ruby <rubys@php.net> | 2000-07-08 10:35:50 +0000 |
| commit | ee36612cef33c7b1e18dd83d54e340d5d5f455ab (patch) | |
| tree | 9d16bd7c74fcb16fb911ff01c4214ee87cda5f13 /ext/rpc/java/README | |
| parent | fd3d84ee52855be0638fa313ac4daf4b63546fc7 (diff) | |
| download | php-git-ee36612cef33c7b1e18dd83d54e340d5d5f455ab.tar.gz | |
Add experimental APIs to get and clear the last exception
Diffstat (limited to 'ext/rpc/java/README')
| -rw-r--r-- | ext/rpc/java/README | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/rpc/java/README b/ext/rpc/java/README index 6a19f8e952..6c64dcfe40 100644 --- a/ext/rpc/java/README +++ b/ext/rpc/java/README @@ -20,7 +20,15 @@ What is PHP4 ext/java? the same syntax. Furthermore, if the java object is of type "java.lang.Class", then static members - 4) Exceptions raised result in PHP warnings, and null results. + 4) Exceptions raised result in PHP warnings, and null results. The + warnings may be eliminated by prefixing the method call with an + "@" sign. The following experimental APIs may be used to retrieve + and reset the last error: + + java_last_exception_get() + java_last_exception_clear() + + These APIs are not currently implemented in a reentrant fashion. 5) Overload resolution is in general a hard problem given the differences in types between the two languages. The PHP Java |
