Just implement the logic ourselves in our Util helper class.
On 4 Dec 2012, at 14:34, Vladimir Blagojevic <vblagoje(a)redhat.com> wrote:
I agree guys, I am also allergic to new dependencies but I was
surprised
that we do not have robust mechanism to find root Throwable given an
Exception (and no it is not simply traversing #getCause() as I myself
naively thought). Not even jboss commons has this useful utility.
Cheers,
Vladimir
On 12-12-04 6:32 AM, Bela Ban wrote:
> +100000000000
>
> On 12/4/12 12:17 PM, Mircea Markus wrote:
>> If ti's only for that logic I'd rather have it implemented in Infinispan
>> for now, as it doesn't seem that complex.
>> Project dependencies has started to become more and more of an issue
>> (e.g. in 6.0. we want to allow the users to only download a single jar
>> if they need local cache only) so I'd rather not add new dependencies
>> unless absolutely necessary.
>>
>> On 3 Dec 2012, at 18:24, Vladimir Blagojevic wrote:
>>> Hi,
>>>
>>> I see that we already use some commons-xyz libs and I was wondering if
>>> we can introduce commons-lang lib dependency in our code? I found their
>>> implementation of ExceptionUtils pretty solid and I would like to use
>>> [1]. There are other useful classes as well and the jar should not be
>>> too big!
>>>
>>> Regards,
>>> Vladimir
>>>
>>>
>>> [1]
>>>
http://commons.apache.org/lang/api-release/org/apache/commons/lang3/excep...
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>> Cheers,
>> --
>> Mircea Markus
>> Infinispan lead (
www.infinispan.org <
http://www.infinispan.org>)
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev