211212213214215216217218219220221
if (sAuthor == null) { if (_log.isWarnEnabled()) { _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } throw new NoSuchSAuthorException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } return remove(sAuthor); }
334335336337338339340341342343344
if (sAuthor == null) { if (_log.isWarnEnabled()) { _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + authorId); } throw new NoSuchSAuthorException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + authorId); } return sAuthor; }