1 | static RuntimeException rethrow(Throwable t) { |
2 | ifndef LeanMode |
3 | if (t instanceof Error) |
4 | _handleError((Error) t); |
5 | endifndef |
6 | throw t instanceof RuntimeException ? (RuntimeException) t : new RuntimeException(t); |
7 | } |
8 | |
9 | static RuntimeException rethrow(S msg, Throwable t) { |
10 | throw new RuntimeException(msg, t); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 22 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lhdilzshxjzv, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj, wtqryiryparv, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1007211 |
Snippet name: | rethrow - rethrow an exception as RuntimeException |
Eternal ID of this version: | #1007211/7 |
Text MD5: | 252bab383f17c60de713f7f213970630 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-25 16:21:32 |
Source code size: | 326 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 775 / 1599 |
Version history: | 6 change(s) |
Referenced in: | [show references] |