List of usage examples for com.liferay.portal.kernel.exception NoSuchRepositoryEntryException NoSuchRepositoryEntryException
public NoSuchRepositoryEntryException(Throwable cause)
From source file:com.liferay.document.library.repository.external.ExtRepositoryAdapter.java
License:Open Source License
private String _getExtRepositoryObjectKey(String uuid) throws PortalException { RepositoryEntry repositoryEntry = repositoryEntryLocalService.fetchRepositoryEntryByUuidAndGroupId(uuid, getGroupId());//from w ww. j a va2 s. co m if (repositoryEntry == null) { throw new NoSuchRepositoryEntryException("No repository entry exits with UUID " + uuid); } return repositoryEntry.getMappedId(); }