API Reference Guide > The Java Exception Class

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

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.