From 72200fffeb098118bbeeddf8ecacd5a399f39d77 Mon Sep 17 00:00:00 2001 From: Daniel Rall Date: Tue, 13 Aug 2002 18:19:06 +0000 Subject: [PATCH] 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 --- .../apache/commons/lang/exception/ExceptionUtils.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/java/org/apache/commons/lang/exception/ExceptionUtils.java b/src/java/org/apache/commons/lang/exception/ExceptionUtils.java index 72ac075d6..c9a560deb 100644 --- a/src/java/org/apache/commons/lang/exception/ExceptionUtils.java +++ b/src/java/org/apache/commons/lang/exception/ExceptionUtils.java @@ -85,13 +85,14 @@ public class ExceptionUtils /** * Introspects the specified Throwable for a - * getCause() method (standard as of JDK 1.4, and - * part of the {@link + * getCause() method which returns a + * Throwable 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 null. - *

- * TODO: Examine for a "detail" public member attribute from + * + *

TODO: Examine for a "detail" public member attribute from * java.rmi.RemoteException. * * @param t The exception to introspect for a cause.