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

7
LINES

< > BotCompany Repo | #1002208 // asRuntimeException

JavaX fragment (include)

static RuntimeException asRuntimeException(Throwable t) {
  ifndef LeanMode
  if (t instanceof Error)
    _handleError((Error) t);
  endifndef
  ret t instanceof RuntimeException ? (RuntimeException) t : new RuntimeException(t);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 19 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lhdilzshxjzv, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv

No comments. add comment

Snippet ID: #1002208
Snippet name: asRuntimeException
Eternal ID of this version: #1002208/3
Text MD5: 2d6b6fa825244b8811ae24432e05aacb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-03 14:00:25
Source code size: 236 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 818 / 1764
Version history: 2 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009496 - asQuickException
#3000382 - Answer for ferdie (>> t = 1, f = 0)