Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.