From 0e20d158200e35a893c734f3ba268a1f5d3c48d0 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 23 Oct 2017 12:12:54 -0600 Subject: [PATCH] [LANG-1361] ExceptionUtils.getThrowableList() is using deprecated ExceptionUtils.getCause() --- .../java/org/apache/commons/lang3/exception/ExceptionUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5da1a8359..95e299257 100644 --- a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java +++ b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java @@ -168,7 +168,7 @@ public class ExceptionUtils { *

Introspects the Throwable to obtain the root cause.

* *

This method walks through the exception chain to the last element, - * "root" of the tree, using {@link #getCause(Throwable)}, and + * "root" of the tree, using {@link Throwable#getCause()}, and * returns that exception.

* *

From version 2.2, this method handles recursive cause structures