Neftemer getDataNoEx function
Java
code posted
created at 15 Jul 02:03, updated at 15 Jul 02:04
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
public <T> T getDataNoEx(String key) { T ret = null; try { ret = (T) this.getData(key, metainfo.get(key)); return ret; } catch (UnknownObjectTypeException ex) { Logger.getLogger(SettingsManager.class.getName()).log( Level.SEVERE, null, ex); } catch (SettingsDecodingException ex) { Logger.getLogger(SettingsManager.class.getName()).log( Level.SEVERE, null, ex); } finally { return null; } } |
604 Bytes in 2 ms with coderay