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

5
LINES

< > BotCompany Repo | #1003129 // getTheStackTrace - synonym of getStackTrace

JavaX fragment (include)

1  
static String getTheStackTrace(Throwable throwable) {
2  
  StringWriter writer = new StringWriter();
3  
  throwable.printStackTrace(new PrintWriter(writer));
4  
  return writer.toString();
5  
}

Author comment

Began life as a copy of #1000889

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: #1003129
Snippet name: getTheStackTrace - synonym of getStackTrace
Eternal ID of this version: #1003129/1
Text MD5: 97616c5273f99d6d66e3b55f9e9d2635
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-05-07 14:06:55
Source code size: 185 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 630 / 628
Referenced in: [show references]