List of usage examples for org.apache.commons.lang NotImplementedException NotImplementedException
public NotImplementedException(Class clazz)
NotImplementedException
referencing the specified class. From source file:blue.lapis.pore.impl.entity.PoreAbstractHorse.java
@Override public int getMaxDomestication() { throw new NotImplementedException("TODO"); }
From source file:com.opengamma.engine.function.MarketDataSourcingFunction.java
@Override public final Set<ComputedValue> execute(FunctionExecutionContext executionContext, FunctionInputs inputs, ComputationTarget target, Set<ValueRequirement> desiredValues) { throw new NotImplementedException(getClass().getSimpleName() + " should never be executed"); }
From source file:net.navasoft.madcoin.backend.services.vo.NoFilteredFields.java
/** * Format field./* w w w. j a va 2 s . co m*/ * * @param fieldToFormat * the field to format * @param conditions * the conditions * @return the no type * @since 27/07/2014, 06:49:01 PM */ @Override public NoType formatField(Object fieldToFormat, Object... conditions) { throw new NotImplementedException(getClass()); }
From source file:com.amalto.core.save.context.RecordValidationContext.java
@Override public DocumentSaver createSaver() { DocumentSaver saver = SaverContextFactory.invokeSaverExtension(new Save()); switch (storage.getType()) { case MASTER://from ww w . j a v a 2 s . c o m saver = new Validation(saver); if (invokeBeforeSaving) { saver = new BeforeSaving(saver); } return new Init(new ID(new GenerateActions(new Security(new UpdateReport(new ApplyActions(saver)))))); case STAGING: return new Init(new ID(new GenerateActions(new Security(new ApplyActions(saver))))); default: throw new NotImplementedException("No support for storage type '" + storage.getType() + "'."); //$NON-NLS-1$ //$NON-NLS-2$ } }
From source file:com.impetus.kundera.query.QueryImpl.java
@Override public Query setFirstResult(int startPosition) { throw new NotImplementedException("TODO"); }
From source file:com.amalto.core.server.MockServer.java
@Override public boolean hasDataSource(String dataSourceName, String container, StorageType type) { boolean isDataSourceDefinitionPresent = dataSourceFactory.hasDataSource(getDatasourcesInputStream(), dataSourceName);//from w w w .j a va2 s. c o m if (isDataSourceDefinitionPresent) { DataSourceDefinition dataSource = dataSourceFactory.getDataSource(dataSourceName, container); switch (type) { case MASTER: return dataSource.getMaster() != null; case STAGING: return dataSource.getStaging() != null; default: throw new NotImplementedException("Not supported: " + type); } } return isDataSourceDefinitionPresent; }
From source file:com.opengamma.analytics.math.interpolation.InterpolatorND.java
/** * @param data Interpolator data// w ww . j av a 2 s. co m * @param x The co-ordinate at which to calculate the sensitivities. * @return The node sensitivities */ public Map<double[], Double> getNodeSensitivitiesForValue(final InterpolatorNDDataBundle data, final double[] x) { throw new NotImplementedException("Node sensitivities cannot be calculated by this interpolator"); }
From source file:edu.berkeley.compbio.sequtils.strings.AggregateSequenceFragment.java
@NotNull public SequenceReader getReaderForSynchronizing() { throw new NotImplementedException("Can't get a reader on an aggregate"); }
From source file:com.andune.minecraft.hsp.integration.worldborder.WorldBorderIntegration.java
public BorderData getBorderData(String worldName) { if (worldBorder != null) { com.wimbli.WorldBorder.BorderData border = worldBorder.GetWorldBorder(worldName); return new BorderDataImpl(border); } else/*from w w w . j a v a2 s . c o m*/ throw new NotImplementedException( "attempt to use WorldBorderIntegration with no WorldBorder installed"); }
From source file:io.s4.model.GaussianMixtureModel.java
public GaussianMixtureModel(int numElements, int numComponents, TrainMethod trainMethod) { super();/*from w w w . j a v a2s . co m*/ this.numComponents = numComponents; this.numElements = numElements; this.trainMethod = trainMethod; if (trainMethod == TrainMethod.DOUBLE) throw new NotImplementedException("Want this? Join as a contributor at http://s4.io"); /* Allocate arrays needed for estimation. */ isTrain = false; if (trainMethod != TrainMethod.NONE) { setTrain(true); if (trainMethod == TrainMethod.STEP) { /* Set up for first iteration using a single Gaussian. */ allocateTrainDataStructures(1); } } }