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

6
LINES

< > BotCompany Repo | #1001902 // loadTextFileMandatory

JavaX fragment (include)

  static String loadTextFileMandatory(File file) {
    S contents = loadTextFile(file);
    if (contents == null)
      fail("File not found: " + file.getPath());
    ret contents;
  }

Author comment

Began life as a copy of #1001049

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001902
Snippet name: loadTextFileMandatory
Eternal ID of this version: #1001902/1
Text MD5: bfbca94360ca9cc895a8a09c936f0faa
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-12-06 18:27:41
Source code size: 191 bytes / 6 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 527 / 1410
Referenced in: [show references]