(PHP 4 >= 4.0.2)
exception java_last_exception_get ()
exception java_last_exception_get
The following example demonstrates the usage of Java's exception handler from within PHP:
Example 1. Java exception handler