Interface WrappableException
- All Known Implementing Classes:
- ExceptionWrapper, ThincException
public interface WrappableException
Defines an interface to allow an Exception to wrap another Exception and
guarantee that clients can test for and access those nested Exceptions.
Notably implemented by ExceptionWrapper
, but the
existence of this interface allows any Exception to implement it with any
constructors or access methods.
- Version:
- $Revision: 1.3 $
- Author:
- Leo Kim (lnk2101@columbia.edu)
- See Also:
ExceptionWrapper
getEnclosedException
java.lang.Exception getEnclosedException()
- Allow access to the enclosed Exception.
- Returns:
- null if no enclosed Exception.