public List<? extends ProtectedItemImporter> getProtectedItemImporters() { List<ProtectedItemImporter> piis = new ArrayList<ProtectedItemImporter>(); for (BeanConfig bc : protectedItemImporters) { try { piis.add(bc.newInstance(ProtectedItemImporter.class)); } catch (ConfigurationException e) { log.warn(e.getMessage()); } } return piis; }
public List<? extends ProtectedItemImporter> getProtectedItemImporters() { List<ProtectedItemImporter> piis = new ArrayList<ProtectedItemImporter>(); for (BeanConfig bc : protectedItemImporters) { try { piis.add(bc.newInstance(ProtectedItemImporter.class)); } catch (ConfigurationException e) { log.warn(e.getMessage()); } } return piis; }
/** * Creates a transient repository with files in the local temp directory. * * @return the created repository * * @throws IOException * if the repository configuration can not be read */ @Override protected RepositoryImpl createRepository() throws IOException { try { final RepositoryConfig config = createRepositoryConfiguration(); return RepositoryImpl.create(config); } catch (final ConfigurationException e) { LOG.error("Configuration invalid", e); throw new AssertionError(e.getMessage(), e); } catch (RepositoryException e) { LOG.error("Could not create repository", e); throw new AssertionError(e.getMessage(), e); } }
module = config.getLoginModule(); } catch (ConfigurationException e) { throw new LoginException(e.getMessage());
module = config.getLoginModule(); } catch (ConfigurationException e) { throw new LoginException(e.getMessage());