You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dl...@apache.org on 2003/11/04 01:04:40 UTC
cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang/exception ExceptionUtils.java
dlr 2003/11/03 16:04:40
Modified: lang/src/java/org/apache/commons/lang/exception
ExceptionUtils.java
Log:
* src/java/org/apache/commons/lang/exception/ExceptionUtils.java
getCause(Throwable), getCause(Throwable, String[]): Added @since tags.
Revision Changes Path
1.36 +3 -1 jakarta-commons/lang/src/java/org/apache/commons/lang/exception/ExceptionUtils.java
Index: ExceptionUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/exception/ExceptionUtils.java,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -u -r1.35 -r1.36
--- ExceptionUtils.java 7 Sep 2003 14:32:35 -0000 1.35
+++ ExceptionUtils.java 4 Nov 2003 00:04:40 -0000 1.36
@@ -173,6 +173,7 @@
* @param throwable the throwable to introspect for a cause, may be null
* @return the cause of the <code>Throwable</code>,
* <code>null</code> if none found or null throwable input
+ * @since 1.0
*/
public static Throwable getCause(Throwable throwable) {
return getCause(throwable, CAUSE_METHOD_NAMES);
@@ -194,6 +195,7 @@
* @param methodNames the method names, null treated as default set
* @return the cause of the <code>Throwable</code>,
* <code>null</code> if none found or null throwable input
+ * @since 1.0
*/
public static Throwable getCause(Throwable throwable, String[] methodNames) {
if (throwable == null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org