getRootException() method

Gets the root cause of the exception, if any.

Syntax

Throwable getRootException ()

Returns

root exception

Usage

root exception