List of usage examples for org.apache.commons.lang NotImplementedException NotImplementedException
public NotImplementedException(Class clazz)
NotImplementedException
referencing the specified class. From source file:com.impetus.kundera.query.QueryImpl.java
@Override public int executeUpdate() { throw new NotImplementedException("TODO"); }
From source file:hudson.plugins.testlink.parser.tap.TAPParser.java
@Override public TestSet parse(InputStream inputStream) throws ParserException { throw new NotImplementedException("TAP parser does not parse Input Streams, only files."); }
From source file:com.google.gplus.provider.GPlusActivitySerializer.java
@Override public List<Activity> deserializeAll(List<com.google.api.services.plus.model.Activity> serializedList) { throw new NotImplementedException("Not currently implemented"); }
From source file:ar.com.zauber.commons.auth.acegi.password.ldap.AcegiLdapUserPasswordEncoder.java
/** @see PasswordEncoder#encodePassword(String, Object) */ public final String encodePassword(final String rawPass, final Object salt) throws DataAccessException { throw new NotImplementedException("imposible to implement."); }
From source file:gr.abiss.calipso.dto.AbstractQuerySearch.java
/** * Leftovers from AbstractSearch/*from w ww. ja v a 2 s . c o m*/ */ public DetachedCriteria getDetachedCriteria() { throw new NotImplementedException("Instances of " + getClass() + " use HQL instead of Criteria"); }
From source file:net.navasoft.madcoin.backend.services.vo.NoFilteredFields.java
/** * Update optional.// www. j ava2 s . c o m * * @param affectedKey * the affected key * @param objectRenewed * the object renewed * @since 27/07/2014, 06:49:01 PM */ @Override public void updateOptional(String affectedKey, NoType objectRenewed) { throw new NotImplementedException(getClass()); }
From source file:hu.bme.mit.incqueryd.engine.rete.nodes.ReteNodeFactory.java
/** * Creates a Rete node from a Rete recipe * // w w w. j a v a2 s .co m * @param recipe * @return An instantiated ReteNode. * @throws IOException */ public static ReteNode createNode(final ReteNodeConfiguration conf) throws IOException { final ReteNodeRecipe recipe = conf.getReteNodeRecipe(); final List<String> cacheMachineIps = conf.getCacheMachineIps(); if (recipe instanceof AntiJoinRecipe) { return new AntiJoinNode((AntiJoinRecipe) recipe, cacheMachineIps); } else if (recipe instanceof CheckRecipe) { return new CheckNode((CheckRecipe) recipe); } else if (recipe instanceof ConstantRecipe) { return new ConstantNode((ConstantRecipe) recipe); } else if (recipe instanceof EqualityFilterRecipe) { return new EqualityNode((EqualityFilterRecipe) recipe); } else if (recipe instanceof JoinRecipe) { return new JoinNode((JoinRecipe) recipe, cacheMachineIps); } else if (recipe instanceof InequalityFilterRecipe) { return new InequalityNode((InequalityFilterRecipe) recipe); } else if (recipe instanceof ProductionRecipe) { return new ProductionNode((ProductionRecipe) recipe); } else if (recipe instanceof TrimmerRecipe) { return new TrimmerNode((TrimmerRecipe) recipe); } else if (recipe instanceof TypeInputRecipe) { return new InputNode((TypeInputRecipe) recipe); } else if (recipe instanceof UniquenessEnforcerRecipe) { return new UniquenessEnforcerNode((UniquenessEnforcerRecipe) recipe); } else { throw new NotImplementedException( recipe.getClass().getSimpleName() + " recipe class is not supported."); } }
From source file:com.impetus.kundera.query.QueryImpl.java
@Override public List<?> getResultList() { throw new NotImplementedException("TODO"); }
From source file:io.mandrel.data.export.ExporterService.java
public void export(Long id, String extractorName, Exporter exporter, Writer writer) { Spider spider = spiderService.get(id); Optional<? extends DataExtractor> oExtractor = spider.getExtractors().getData().stream() .filter(ext -> ext.getName().equals(extractorName)).findFirst(); if (oExtractor.isPresent()) { DataExtractor theExtractor = oExtractor.get(); if (theExtractor instanceof DefaultDataExtractor) { throw new NotImplementedException("Not a default data extractor"); }/* w ww . j ava 2s . c o m*/ try { exporter.init(writer); DocumentStore theStore = DocumentStores.get(id, extractorName).get(); if (!theStore.isNavigable()) { throw new NotImplementedException("Not a navigable document store"); } NavigableDocumentStore store = (NavigableDocumentStore) theStore; store.byPages(1000, data -> { try { exporter.export(data, ((DefaultDataExtractor) theExtractor).getFields()); } catch (Exception e) { log.debug("Uhhh...", e); return false; } return CollectionUtils.isNotEmpty(data); }); } catch (Exception e) { log.debug("Uhhh...", e); } finally { try { exporter.close(); } catch (Exception e1) { log.debug("Uhhh...", e1); } } } else { notFound("Extractor not found"); log.debug("Extract {} not found for spider {}", extractorName, id); } }
From source file:edu.ku.brc.specify.dbsupport.customqueries.CatalogedByYearCustomQuery.java
public List<QueryResultsDataObj> getResults() { throw new NotImplementedException("getResults is not implemented!"); }