WFCException.rethrowException

Overview | Methods | Fields | This Package | All Packages

WFCException.rethrowException

Rethrows an exception, wrapping it in a WFCException object.

Syntax

public static final void rethrowException( Throwable e )

public static final void rethrowException( String message, Throwable e )

Parameters

e

The exception to be rethrown.

message

The message to be displayed when the exception is rethrown. If no message is specified, the message associated with the e parameter is displayed.

Remarks

The first version of this method uses the message associated with the exception being rethrown. The exception being rethrown is not wrapped in a WFCException object if it is already of type WFCException or is a subclass of java.lang.RuntimeException.