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

14
LINES

< > BotCompany Repo | #1015677 // Test unwrapTrivialExceptionWraps (OK)

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

Download Jar. Transpiled version (973L) is out of date.

1  
!7
2  
3  
static IOException e = new("bla");
4  
5  
p {
6  
  try {
7  
    rethrow(e);
8  
  } catch e2 {
9  
    printStackTrace2(e2);
10  
    assertSame(e, unwrapTrivialExceptionWraps(e2));
11  
    assertSame(e, unwrapTrivialExceptionWraps(e));
12  
    print("OK");
13  
  }
14  
}

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: #1015677
Snippet name: Test unwrapTrivialExceptionWraps (OK)
Eternal ID of this version: #1015677/2
Text MD5: 78029fc622a096b679a745737294fb81
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-21 11:18:43
Source code size: 247 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 427 / 1055
Version history: 1 change(s)
Referenced in: [show references]