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

7
LINES

< > BotCompany Repo | #1033669 // printStackTrace_gen

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4550L/25K).

static <A> A printStackTrace_gen(A e) {
  if (e cast Throwable)
    printStackTrace(e);
  else
    print(e);
  ret e;
}

Author comment

Began life as a copy of #1002288

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033669
Snippet name: printStackTrace_gen
Eternal ID of this version: #1033669/1
Text MD5: ee820e0cd65008de1162b944a274dd93
Transpilation MD5: 2ed0986f86f35631f21a527a0b8672cd
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-12-26 17:17:50
Source code size: 125 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 192
Referenced in: [show references]