getCause(Throwable): Adjusted JavaDoc of method to note the return

type of the getCause() method it checks for.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@136963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Rall 2002-08-13 18:19:06 +00:00
parent d5525cc4c0
commit 72200fffeb
1 changed files with 5 additions and 4 deletions

View File

@ -85,13 +85,14 @@ public class ExceptionUtils
/**
* Introspects the specified <code>Throwable</code> for a
* <code>getCause()</code> method (standard as of JDK 1.4, and
* part of the {@link
* <code>getCause()</code> method which returns a
* <code>Throwable</code> object (standard as of JDK 1.4, and part
* of the {@link
* org.apache.commons.lang.exception.NestableException} API),
* extracting and returning the cause of the exception.
* Otherwise, returns <code>null</code>.
* <p>
* TODO: Examine for a "detail" public member attribute from
*
* <p>TODO: Examine for a "detail" public member attribute from
* java.rmi.RemoteException.
*
* @param t The exception to introspect for a cause.