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

8
LINES

< > BotCompany Repo | #1018451 // getException - run code and get exception that it throws

JavaX fragment (include)

static Throwable getException(Runnable r) {
  try {
    callF(r);
    null;
  } catch e {
    ret e;
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018451
Snippet name: getException - run code and get exception that it throws
Eternal ID of this version: #1018451/1
Text MD5: 517b8fe2460908d6ad154ed41e8d7f5a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-30 20:02:30
Source code size: 113 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 326 / 388
Referenced in: [show references]