DataOverwriteException
Created: Wed Oct 27 14:17:44 2004
11501151115211531154115511561157115811591160
try { String data = rep.getData(user, node, key); if (data == null) { rep.setData(user, node, key, value); } else { throw new DataOverwriteException("Not authorized attempt to overwrite data."); } // end of if (data == null) else } catch (TigaseDBException e) { log.log(Level.SEVERE, "Problem accessing repository data.", e); } // end of try-catch