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

8
LINES

< > BotCompany Repo | #1017942 // Test suppressing exception print for cancelThread (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (5648L/40K).

!7

p-exp {
  cancelThread(startThread("Whoopsie", r sleep));
  
  // Check that normal exceptions are still printed
  _handleException(new RuntimeException("Regular exception"));
}

Author comment

Began life as a copy of #1012125

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017942
Snippet name: Test suppressing exception print for cancelThread (OK)
Eternal ID of this version: #1017942/4
Text MD5: 4e107be66de6f5f1a93f9c8a8e076bd4
Transpilation MD5: 269f7ab87ad8cea5553af50e3d6ef521
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-22 15:28:25
Source code size: 188 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 332 / 703
Version history: 3 change(s)
Referenced in: [show references]