1 | static Throwable innerException2(Throwable e) { |
2 | if (e == null) null; |
3 | while (empty(e.getMessage()) && e.getCause() != null) |
4 | e = e.getCause(); |
5 | return e; |
6 | } |
Began life as a copy of #1001151
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020623 |
Snippet name: | innerException2 - descends only when message is empty |
Eternal ID of this version: | #1020623/1 |
Text MD5: | c41cbe3cebf9b7cdb3caf35a1c767bcd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-28 20:28:33 |
Source code size: | 167 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 289 / 340 |
Referenced in: | [show references] |