List of usage examples for com.liferay.portal.kernel.exception InvalidRepositoryException InvalidRepositoryException
public InvalidRepositoryException(Throwable cause)
From source file:com.liferay.document.library.repository.cmis.internal.CMISRepositoryUtil.java
License:Open Source License
public static String getTypeSettingsValue(UnicodeProperties typeSettingsProperties, String typeSettingsKey) throws InvalidRepositoryException { String value = typeSettingsProperties.getProperty(typeSettingsKey); if (Validator.isNull(value)) { throw new InvalidRepositoryException("Properties value cannot be null for key " + typeSettingsKey); }/* w ww.ja v a 2s. co m*/ return value; }