The Java Exception Class

JavaException is a PHP class that inherits from the default PHP5 class "Exception"

Available since: 3.6

Class Prototype

class JavaException {

/* Methods */

public object getCause (void)

}

Class Methods

JavaException::getCause

Get the Java exception that led to this exception

Available since version 3.6

Description

public object JavaException::getCause (void)

Return Value

A Java exception object, if there was an exception, NULL otherwise