Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1013186 - getExceptionCause - goes just one level deep

JavaX fragment (include)

static Throwable getExceptionCause(Throwable e) {
  Throwable c = e.getCause();
  ret c != null ? c : e;
}

Author comment

Began life as a copy of #1001151

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1013186
Snippet name: getExceptionCause - goes just one level deep
Eternal ID of this version: #1013186/1
Text MD5: b6c241c24edf1323eefae72f8fc5152a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-27 05:06:54
Source code size: 109 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 317 / 329
Referenced in: [show references]