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.abixen.platform.common.infrastructure.security.PlatformPermissionEvaluator.java

@Override
public boolean hasPermission(Authentication authentication, Object targetDomainObject, Object permission) {
    log.debug("hasPermission() - authentication: " + authentication + ", targetDomainObject: "
            + targetDomainObject + ", permission: " + permission);

    throw new NotImplementedException("Method hasPermission not implemented yet!");
}

From source file:com.abixen.platform.service.businessintelligence.multivisualisation.application.service.file.DataFileParserServiceFactory.java

public DataFileParserService getParse(String extension) {
    switch (extension) {
    case ".csv":
        return csvFileDataParserService;
    case ".xls":
        return excelFileDataParserService;
    case ".xlsx":
        return excelFileDataParserService;
    default:/*  w  w  w . j  a v a 2s . co m*/
        throw new NotImplementedException("Parser for this file isn't implemented");
    }
}

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

/** @see SecretsMap#safeGetSecret(T) */
public final String safeGetSecret(final T guest) {
    throw new NotImplementedException("not implemented");
}

From source file:com.sindicetech.siren.qparser.keyword.builders.SlopQueryNodeBuilder.java

public NodePhraseQuery build(QueryNode queryNode) throws QueryNodeException {
    final SlopQueryNode phraseSlopNode = (SlopQueryNode) queryNode;

    if (phraseSlopNode.getValue() != 0)
        throw new NotImplementedException("Slop Queries not supported in Siren yet");

    return (NodePhraseQuery) phraseSlopNode.getChild().getTag(QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID);

    // TODO: To implement when siren will support slop queries
    // SlopQueryNode phraseSlopNode = (SlopQueryNode) queryNode;
    ///*from   w w w .j  a va 2s.  c  o  m*/
    // Query query = (Query) phraseSlopNode.getChild().getTag(
    // QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID);
    //
    //    
    // if (query instanceof PhraseQuery) {
    // ((PhraseQuery) query).setSlop(phraseSlopNode.getValue());
    //
    // } else {
    // ((MultiPhraseQuery) query).setSlop(phraseSlopNode.getValue());
    // }
    //
    // return query;

}

From source file:net.navasoft.madcoin.backend.services.vo.NoFilteredFields.java

/**
 * Update mandatory.//from ww w  .j  av a  2s  .com
 * 
 * @param affectedKey
 *            the affected key
 * @param objectRenewed
 *            the object renewed
 * @since 27/07/2014, 06:49:01 PM
 */
@Override
public void updateMandatory(String affectedKey, NoType objectRenewed) {
    throw new NotImplementedException(getClass());
}

From source file:com.abixen.platform.service.businessintelligence.multivisualisation.service.impl.parser.FileParserFactoryImpl.java

@Override
public FileParserService getParse(String extension) {
    switch (extension) {
    case ".csv":
        return csvFileParserService;
    case ".xls":
        return excelFileParserService;
    case ".xlsx":
        return excelFileParserService;
    default:/*from www .jav  a2  s.  c  om*/
        throw new NotImplementedException("Parser for this file isn't implemented");
    }
}

From source file:blue.lapis.pore.converter.type.attribute.InventoryTypeConverter.java

public static InventoryArchetype of(InventoryType type) {
    switch (type) {
    case ENDER_CHEST:
        return InventoryArchetypes.CHEST;
    case DROPPER:
        return InventoryArchetypes.DISPENSER;
    case CREATIVE:
        throw new NotImplementedException("Creative inventory not available!");
    default:/* w  ww .j  a  v a2  s. c  o  m*/
        return CONVERTER.convert(type);
    }
}

From source file:com.amalto.core.history.accessor.RootAccessor.java

public String getActualType() {
    throw new NotImplementedException("Override document type at root element.");
}

From source file:edu.ku.brc.specify.dbsupport.customqueries.CatalogedByYearCustomQuery.java

public boolean execute() {
    throw new NotImplementedException("execute is not implemented!");
}

From source file:com.p5solutions.core.jpa.orm.criteria.restrictions.IsNullExpression.java

public List<SQLParameterCriteria> getQueryCriterias(EntityDetail<?> entityDetail) {
    throw new NotImplementedException("This method is not applicable for Simple Expressions");
}