src/com/vehiclerental/dataLayer/sqliteImplementation/BaseDaoSqliteImpl.java
/**
     * Removes a given entity from the SQLite database of the given type
     *
     * @param entity the element to remove
     * @throws DatabaseDeleteFailedException if the deletion was not successful
     */
Removes a given entity from the SQLite database of the given type
@param entity the element to remove
@throws DatabaseDeleteFailedException if the deletion was not successful
Removes a given entity from the SQLite database of the given type @param entity the element to remove @throws DatabaseDeleteFailedException if the deletion was not successful
@Override
    public void delete(T entity) throws DatabaseDeleteFailedException {
        try {
            dao.delete(entity);
        } catch (SQLException e) {
            throw new DatabaseDeleteFailedException(e.getMessage());
        }
    }
@ Override public void delete ( T entity ) throws DatabaseDeleteFailedException { try { dao . delete ( entity ) ; } catch ( SQLException e ) { throw new DatabaseDeleteFailedException ( e . getMessage ( ) ) ; } }
Removes a given entity from the SQLite database of the given type
 @param entity the element to remove
 @throws DatabaseDeleteFailedException if the deletion was not successful
Removes a given entity from the SQLite database of the given type @param entity the element to remove @throws DatabaseDeleteFailedException if the deletion was not successful