Libraryless. Click here for Pure Java version (40L/1K).
static Throwable exceptionForTimeoutedThread(Thread thread) { var stackTrace = thread.getStackTrace(); var cause = new ThrowableWithCustomStackTrace("Still calculating", stackTrace); ret cause; }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034835 |
Snippet name: | exceptionForTimeoutedThread |
Eternal ID of this version: | #1034835/1 |
Text MD5: | 69e9c906738e3b7d33c028eb81505b61 |
Transpilation MD5: | fa20558b09aebb70724e59551f29bd0b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-11 03:29:09 |
Source code size: | 207 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 125 / 182 |
Referenced in: | [show references] |