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.

!7

static IOException e = new("bla");

p {
  try {
    rethrow(e);
  } catch e2 {
    printStackTrace2(e2);
    assertSame(e, unwrapTrivialExceptionWraps(e2));
    assertSame(e, unwrapTrivialExceptionWraps(e));
    print("OK");
  }
}

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: 422 / 1039
Version history: 1 change(s)
Referenced in: [show references]