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

4
LINES

< > BotCompany Repo | #1016158 // assertExists

JavaX fragment (include)

static File assertExists(File f) {
  if (!fileExists(f)) fail("File not found: " + f);
  ret f;
}

Author comment

Began life as a copy of #1013716

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: #1016158
Snippet name: assertExists
Eternal ID of this version: #1016158/1
Text MD5: 1a188e7ed56d010cca9040826f920ea4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-07 18:52:32
Source code size: 100 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 417 / 424
Referenced in: [show references]