FileDocCategorySizeDatePackage
IThrowableWrapper.javaAPI DocAndroid 1.5 API2209Wed May 06 22:41:16 BST 2009com.vladium.util.exception

IThrowableWrapper

public interface IThrowableWrapper
TODO: javadoc Any exception that wraps around another exception and wishes to be fully inspectable by {@link ExceptionCommon} should implement this interface. Note that JDK 1.4+ obsoletes the need for an explicit interface like this, although the implementation in {@link ExceptionCommon} is upwards compatible with it.
author
Vlad Roubtsov, (C) 2002

Fields Summary
Constructors Summary
Methods Summary
public void__printStackTrace(java.io.PrintWriter pw)
Every exception hierarchy implementing this interface must ensure that this method delegates to super.printStackTrace(pw) where 'super' is the first superclass not implementing IThrowableWrapper. This is used by {@link ExceptionCommon} to avoid infinite recursion and is not meant to be called by other classes.

public void__printStackTrace(java.io.PrintStream ps)
Every exception hierarchy implementing this interface must ensure that this method delegates to super.printStackTrace(ps) where 'super' is the first superclass not implementing IThrowableWrapper. This is used by {@link ExceptionCommon} to avoid infinite recursion and is not meant to be called by other classes.

public java.lang.ThrowablegetCause()
Gets the Throwable being wrapped. This method signature is the same as Throwable.getCause() in J2SE 1.4.

return
Throwable being wrapped by this object [can be null].