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

4
LINES

< > BotCompany Repo | #1033996 // exceptionToStringShorter - drop "RuntimeException" prefix

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

Libraryless. Click here for Pure Java version (5042L/28K).

sS exceptionToStringShorter(Throwable e) {
  e = getInnerException(e);
  ret exceptionToStringShorter_dontDropOuterExceptions(e);
}

Author comment

Began life as a copy of #1003612

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033996
Snippet name: exceptionToStringShorter - drop "RuntimeException" prefix
Eternal ID of this version: #1033996/3
Text MD5: 06ef8fc0fd46887dddaef22875c2c32d
Transpilation MD5: c7b7278ea9d5fbe4c25ff6f467350387
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-29 14:43:19
Source code size: 134 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 228
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1034266 - exceptionToStringShorter_dontDropOuterExceptions