mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
activated java reference and corrected some small errors in java.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50010 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
eccf52758f
commit
f242d61481
1 changed files with 8 additions and 4 deletions
|
@ -86,16 +86,17 @@
|
|||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
<para>
|
||||
Exceptions raised result in PHP warnings, and null results. The
|
||||
warnings may be eliminated by prefixing the method call with an
|
||||
"@" sign. The following APIs may be used to retrieve and reset
|
||||
the last error:
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><simpara><function>java_last_exception_get</simpara></listitem>
|
||||
<listitem><simpara>java_last_exception_clear</simpara></listitem>
|
||||
</simpara>
|
||||
<listitem><simpara><function>java_last_exception_get</function></simpara></listitem>
|
||||
<listitem><simpara><function>java_last_exception_clear</function></simpara></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
@ -164,6 +165,7 @@
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>java_last_exception_clear</function></funcdef>
|
||||
<void/>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
</refsect1>
|
||||
|
@ -179,6 +181,7 @@
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>exception <function>java_last_exception_get</function></funcdef>
|
||||
<void/>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
@ -186,6 +189,7 @@
|
|||
handler from within PHP:
|
||||
|
||||
<example>
|
||||
<title>Java exception handler</title>
|
||||
<programlisting role="php">
|
||||
<?php
|
||||
$stack = new Java("java.util.Stack");
|
||||
|
|
Loading…
Reference in a new issue