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

9
LINES

< > BotCompany Repo | #1029515 // print_noFail - print() on critical path [never fails]

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

Libraryless. Click here for Pure Java version (2494L/16K).

svoid print_noFail(S s) {  
  try {
    print(s);
  } catch e {
    try {
      System.out.println(s); // at least print somewhere
    } catch e2 {}
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029515
Snippet name: print_noFail - print() on critical path [never fails]
Eternal ID of this version: #1029515/1
Text MD5: 609e0e772eb8f4478c2f20a075e2be6c
Transpilation MD5: 3c942156ac2a587b16d8e3a27ab941ae
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-16 20:03:56
Source code size: 162 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 113 / 177
Referenced in: [show references]