212213214215216217218219220221222
if (sLibrary == null) { if (_log.isWarnEnabled()) { _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } throw new NoSuchSLibraryException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + primaryKey); } return remove(sLibrary); }
336337338339340341342343344345346
if (sLibrary == null) { if (_log.isWarnEnabled()) { _log.warn(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + libraryId); } throw new NoSuchSLibraryException(_NO_SUCH_ENTITY_WITH_PRIMARY_KEY + libraryId); } return sLibrary; }