src/com/vehiclerental/dataLayer/sqliteImplementation/BaseDaoSqliteImpl.java
/**
     * Updates a given entity in the SQLite database of the given type
     *
     * @param entity the element to update
     * @throws DatabaseUpdateFailedException if the update was not successfull
     */
Updates a given entity in the SQLite database of the given type
@param entity the element to update
@throws DatabaseUpdateFailedException if the update was not successfull
Updates a given entity in the SQLite database of the given type @param entity the element to update @throws DatabaseUpdateFailedException if the update was not successfull
@Override
    public void update(T entity) throws DatabaseUpdateFailedException {
        try {
            dao.update(entity);
        } catch (SQLException e) {
            throw new DatabaseUpdateFailedException(e.getMessage());
        }
    }
@ Override public void update ( T entity ) throws DatabaseUpdateFailedException { try { dao . update ( entity ) ; } catch ( SQLException e ) { throw new DatabaseUpdateFailedException ( e . getMessage ( ) ) ; } }
Updates a given entity in the SQLite database of the given type
 @param entity the element to update
 @throws DatabaseUpdateFailedException if the update was not successfull
Updates a given entity in the SQLite database of the given type @param entity the element to update @throws DatabaseUpdateFailedException if the update was not successfull