public void remove(Long dataMediaPairId) {
        Assert.assertNotNull(dataMediaPairId);

        try {
            dataMediaPairDao.delete(dataMediaPairId);
        } catch (Exception e) {
            logger.error("ERROR ## remove dataMediaPair has an exception!", e);
            throw new ManagerException(e);
        }
    }
public void remove ( Long dataMediaPairId ) { Assert . assertNotNull ( dataMediaPairId ) ; try { dataMediaPairDao . delete ( dataMediaPairId ) ; } catch ( Exception e ) { logger . error ( "ERROR ## remove dataMediaPair has an exception!" , e ) ; throw new ManagerException ( e ) ; } }
删除