Example usage for org.apache.commons.lang NotImplementedException NotImplementedException

List of usage examples for org.apache.commons.lang NotImplementedException NotImplementedException

Introduction

In this page you can find the example usage for org.apache.commons.lang NotImplementedException NotImplementedException.

Prototype

public NotImplementedException(Class clazz) 

Source Link

Document

Constructs a new NotImplementedException referencing the specified class.

Usage

From source file:com.kenshoo.integrations.plugins.connectors.util.SeekableInputStream.java

@Override
public void seek(long pos) throws IOException {
    throw new NotImplementedException("Seek not supported");
}

From source file:blue.lapis.pore.impl.entity.PoreAbstractHorse.java

@Override
public void setMaxDomestication(int level) {
    throw new NotImplementedException("TODO");
}

From source file:edu.berkeley.compbio.sequtils.sequencefragmentiterator.RandomSectionSFI.java

@NotNull
protected synchronized SequenceFragment getNextWindow(int theWidth)
        throws IOException, FilterException, NotEnoughSequenceException, DistributionProcessorException {
    throw new NotImplementedException("A SectionSFI returns entire sections; can't request a length");
}

From source file:com.aionemu.gameserver.model.Race.java

public DescriptionId getRaceDescriptionId() {
    if (descriptionId == null) {
        throw new NotImplementedException("Race name DescriptionId is unknown for race" + this);
    }//  w w w  . ja  v  a2s.co  m
    return descriptionId;
}

From source file:ar.com.zauber.commons.secret.impl.NullSecretsMap.java

/** @see SecretsMap#getExpirationDateValidator() */
public final ExpirationDateValidator getExpirationDateValidator() {
    throw new NotImplementedException("not implemented");
}

From source file:com.geewhiz.pacify.managers.FilterManager.java

public LinkedHashSet<Defect> doFilter() {
    LinkedHashSet<Defect> defects = new LinkedHashSet<Defect>();

    for (Object entry : pMarker.getFilesAndArchives()) {
        if (entry instanceof PFile) {
            defects.addAll(filterPFile((PFile) entry));
        } else if (entry instanceof PArchive) {
            defects.addAll(filterPArchive((PArchive) entry));
        } else {/*  w ww  .  j a v  a  2 s  . com*/
            throw new NotImplementedException(
                    "Filter implementation for " + entry.getClass().getName() + " not implemented.");
        }
    }

    CheckForNotReplacedTokens checker = new CheckForNotReplacedTokens();
    defects.addAll(checker.checkForErrors(pMarker));

    if (defects.isEmpty()) {
        pMarker.getFile().delete();
    }

    return defects;
}

From source file:it.infn.mw.iam.authn.oidc.DefaultOidcTokenRequestor.java

private void jwtAuthRequest(RegisteredClient clientConfig) {

    throw new NotImplementedException("Signed JWT authN method not yet implemented");
}

From source file:com.jabyftw.lobstercraft.services.services_event.PlayerChangesCityOccupationEvent.java

@Override
public void setCancelled(boolean cancel) {
    throw new NotImplementedException("You should use setResult(CityStructure.ChangeOccupationResponse)");
}

From source file:com.amalto.core.storage.hibernate.InClauseOptimization.java

@Override
public StorageResults visit(Select select) {
    StorageResults results = null;/*  www. j a v a  2s  . co  m*/
    switch (mode) {
    case SUB_QUERY:
        throw new NotImplementedException("Not supported in this MDM version"); //$NON-NLS-1$
        //
        // Uncomment lines below for supporting this (NOT SUPPORTED ON ALL DATABASES!!!).
        //
        // ComplexTypeMetadata typeMetadata = (ComplexTypeMetadata) MetadataUtils.getSuperConcreteType(mainType);
        // String idColumnName = typeMetadata.getKeyFields().iterator().next().getName();
        // String tableName = typeMetadata.getName();
        // criteria.add(new IdInSubQueryClause(idColumnName, tableName, start, limit));
    case CONSTANT:
        // Create in clause for the id
        ComplexTypeMetadata mainType = select.getTypes().get(0);
        Paging paging = select.getPaging();
        int start = paging.getStart();
        int limit = paging.getLimit();
        UserQueryBuilder qb = from(mainType).selectId(mainType).start(start).limit(limit);
        if (select.getCondition() != null) {
            qb.where(select.getCondition());
        }
        List<Object[]> constants;
        if (limit != Integer.MAX_VALUE) {
            constants = new ArrayList<Object[]>(limit);
        } else {
            constants = new LinkedList<Object[]>();
        }
        // Get ids for constant list
        StorageResults records = storage.fetch(qb.getSelect()); // Expects an active transaction here
        // TMDM-7124. Oracle doesn't like > 1000 number of values in 'IN (...)' clause,
        // and too many values in 'IN (...)' clause hurt database performance
        if (records.getSize() >= IN_CLAUSE_MAX) {
            if (LOGGER.isDebugEnabled()) {
                LOGGER.debug("Too many ids in 'IN()' clause, abort this optimization. Total ids = " //$NON-NLS-1$
                        + records.getSize());
            }
            results = super.visit(select);
        } else {
            for (DataRecord record : records) {
                Set<FieldMetadata> setFields = record.getSetFields();
                Object[] constant = new Object[setFields.size()];
                int i = 0;
                for (FieldMetadata setField : setFields) {
                    Object o = record.get(setField);
                    constant[i++] = o;
                }
                constants.add(constant);
            }
            if (!constants.isEmpty()) {
                // Standard criteria
                Criteria criteria = createCriteria(select);
                criteria.add(new IdInConstantClause(mainType.getKeyFields(), resolver, constants));
                results = createResults(criteria.list(), select.isProjection());
            } else {
                results = new HibernateStorageResults(storage, select, EmptyIterator.INSTANCE);
            }
        }
    }
    return results;
}

From source file:blue.lapis.pore.impl.entity.PoreAbstractHorse.java

@Override
public double getJumpStrength() {
    throw new NotImplementedException("TODO");
}