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

7
LINES

< > BotCompany Repo | #1033028 // pcallOrStackTrace_strOrNull

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

Libraryless. Click here for Pure Java version (3853L/22K).

sS pcallOrStackTrace_strOrNull(O f, O... args) {
  try {
    ret strOrNull(callF(f, args));
  } catch print e {
    ret getStackTrace(e);
  }
}

Author comment

Began life as a copy of #1021668

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033028
Snippet name: pcallOrStackTrace_strOrNull
Eternal ID of this version: #1033028/1
Text MD5: cefcc5b961b5a437007ebc35c78d22d1
Transpilation MD5: 25fa98535db18d82877c24ab3a0d2c51
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-11 12:55:27
Source code size: 149 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 137 / 199
Referenced in: [show references]