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

11
LINES

< > BotCompany Repo | #1015953 // Test pcall [OK, we made some changes]

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

Download Jar. Libraryless. Click here for Pure Java version (1592L/10K).

1  
!7
2  
3  
p {
4  
  assertNull(_handleException_lastException);
5  
  pcall {
6  
    fail("Blablubb");
7  
  }
8  
  assertNotNull(_handleException_lastException);
9  
  print("Caught: " + _handleException_lastException);
10  
  print("OK");
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015953
Snippet name: Test pcall [OK, we made some changes]
Eternal ID of this version: #1015953/3
Text MD5: 81a86f3235de6c2809fd2f990c00febf
Transpilation MD5: b64462c9fde027ad21f88cdadcf78b8b
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-31 22:08:55
Source code size: 219 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 445 / 1021
Version history: 2 change(s)
Referenced in: [show references]