Re: [lang] ExceptionUtils

2017-10-08 Thread Pascal Schumacher
Am 08.10.2017 um 15:42 schrieb Benedikt Ritter: Am 06.10.2017 um 17:18 schrieb Zheng Xie : Hi. I have found the design of three root cause related methods inconsistent when the input Throwable does not wrap up another Throwable. These three methods are 1. getRootCause(Throwable t) 2. ge

Re: [lang] ExceptionUtils

2017-10-08 Thread Benedikt Ritter
Hello, > Am 06.10.2017 um 17:18 schrieb Zheng Xie : > > Hi. > > I have found the design of three root cause related methods inconsistent > when the input Throwable does not wrap up another Throwable. > > These three methods are > > 1. getRootCause(Throwable t) > 2. getRootCauseMessage(Thro

[lang] ExceptionUtils

2017-10-06 Thread Zheng Xie
Hi. I have found the design of three root cause related methods inconsistent when the input Throwable does not wrap up another Throwable. These three methods are 1. getRootCause(Throwable t) 2. getRootCauseMessage(Throwable t) 3. getRootCauseStackTrace(Throwable t) When the input t ha