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

7
LINES

< > BotCompany Repo | #1023417 // propertiesAndErrors_callF

JavaX fragment (include)

1  
svoid propertiesAndErrors_callF(PropertiesAndErrors pne, S propertyName, O f, O... args) {
2  
  try {
3  
    pne.properties.put(propertyName, callF(f, args));
4  
  } catch e {
5  
    pne.setError(propertyName, persistableThrowable(e));
6  
  }
7  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1023417
Snippet name: propertiesAndErrors_callF
Eternal ID of this version: #1023417/1
Text MD5: 42dde94688f6966dc66a9991c391cca7
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-18 01:54:41
Source code size: 235 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 264 / 303
Referenced in: [show references]