You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2016/05/24 18:26:51 UTC

[lang] improve ExceptionUtils#getCause @deprecated javadoc

Repository: commons-lang
Updated Branches:
  refs/heads/master 7f1b88043 -> 2433cd393


improve ExceptionUtils#getCause @deprecated javadoc


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/2433cd39
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/2433cd39
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/2433cd39

Branch: refs/heads/master
Commit: 2433cd393e6e4185031377665104ac09b75f99c5
Parents: 7f1b880
Author: pascalschumacher <pa...@gmx.net>
Authored: Tue May 24 20:26:41 2016 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Tue May 24 20:26:41 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/commons/lang3/exception/ExceptionUtils.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/2433cd39/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
index 8d2ae78..9a5f5a8 100644
--- a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
+++ b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
@@ -117,7 +117,7 @@ public class ExceptionUtils {
      * @return the cause of the <code>Throwable</code>,
      *  <code>null</code> if none found or null throwable input
      * @since 1.0
-     * @deprecated This feature will be removed in Lang 4.0
+     * @deprecated This feature will be removed in Lang 4.0, use {@link Throwable#getCause} instead
      */
     @Deprecated
     public static Throwable getCause(final Throwable throwable) {
@@ -135,7 +135,7 @@ public class ExceptionUtils {
      * @return the cause of the <code>Throwable</code>,
      *  <code>null</code> if none found or null throwable input
      * @since 1.0
-     * @deprecated This feature will be removed in Lang 4.0
+     * @deprecated This feature will be removed in Lang 4.0, use {@link Throwable#getCause} instead
      */
     @Deprecated
     public static Throwable getCause(final Throwable throwable, String[] methodNames) {