public void update(GlbRoleDao attrs) throws RemoteException { try { this.attrs = attrs; dao.update(this.attrs); } catch (Exception ex) { ex.toString(); } }
public void insert(GlbRoleDao attrs) throws RemoteException, DupKeyException { try { this.attrs = attrs; dao.create(this.attrs); dao.update(this.attrs); } catch (DupKeyException dkex) { throw dkex; } catch (Exception ex) { ex.toString(); } }