com.ibm.ftt.resources.core.physical.util
Interface IExceptionWrapper

All Known Implementing Classes:
EditorOpenerException, InvalidOperationException, OperationFailedException

public interface IExceptionWrapper

Exceptions that implement this interface can be used to wrap another exception. For dispatch purposes, the wrapper is treated as if it is of the same type as the exception that is being wrapped. To obtain the original exception, invoke IExceptionWrapper.getWrappedThrowable() until the returned object does not implement IExceptionWrapper.


Field Summary
static String COPY_RIGHT
           
 
Method Summary
 Throwable getWrappedThrowable()
          Returns wrapped exception.
 

Field Detail

COPY_RIGHT

static final String COPY_RIGHT
Method Detail

getWrappedThrowable

Throwable getWrappedThrowable()
Returns wrapped exception.

Returns:
the exception that is being wrapped; null if this exception is actually not used to wrap another exception, but should instead be treated as having its own type for dispatch purposes