WFCException.getBaseException

Overview | Methods | Fields | This Package | All Packages

WFCException.getBaseException

Retrieves the lowest, inner-most exception for the specified exception.

Syntax

public static final Throwable getBaseException( Throwable e )

Parameters

e

The exception to find the base exception for.

Return Value

Returns the base exception.

Remarks

This method traverses the exception hierarchy tree, using the inner exceptions of WFCException objects. getBaseException also looks for java.lang.ExceptionInInitializerError and java.lang.reflect.InvocationTargetException objects that may also contain exceptions.