* @throws RepositoryConnectorException
* if the required credential is not set.
*/
private void isRequredConfigSet(String credential, String error) throws RepositoryConnectorException {
if (credential == null) {
throw new RepositoryConnectorException(error);
}
}