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

7
LINES

< > BotCompany Repo | #1028381 // rethrowWithNewStacktrace

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2484L/16K).

static RuntimeException rethrowWithNewStacktrace(Throwable t) {
  ifndef LeanMode
  if (t instanceof Error)
    _handleError((Error) t);
  endifndef
  throw new RuntimeException(t.getMessage());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028381
Snippet name: rethrowWithNewStacktrace
Eternal ID of this version: #1028381/1
Text MD5: d75866e70e21efe18f119bb1613cd347
Transpilation MD5: 983189069d65ef2fd1baa50f90f042cc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-14 17:56:12
Source code size: 202 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 203 / 286
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)