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() 

Source Link

Document

Constructs a new NotImplementedException with default message.

Usage

From source file:com.thoughtworks.studios.journey.jql.conditions.FloatValue.java

@Override
public Value multiply(Value right) {
    if (right instanceof IntValue) {
        return new FloatValue(val * ((IntValue) right).val);
    }/*from   w ww  .j a  va  2s .  c  o  m*/

    if (right instanceof FloatValue) {
        return new FloatValue(val * ((FloatValue) right).val);
    }

    if (right instanceof StringValue) {
        throw new DataQueryError("cannot times string value to an float value");
    }

    throw new NotImplementedException();

}

From source file:com.amalto.core.query.user.VisitorAdapter.java

public T visit(Alias alias) {
    throw new NotImplementedException();
}

From source file:com.opengamma.analytics.financial.greeks.AbstractGreekVisitor.java

@Override
public T visitVarianceVomma() {
    throw new NotImplementedException();
}

From source file:com.antsdb.saltedfish.storage.HBaseScanResult.java

@Override
public byte getMisc() {
    throw new NotImplementedException();
}

From source file:com.bloatit.model.visitor.AbstractModelClassVisitor.java

@Override
public T visit(final HighlightFeature model) {
    throw new NotImplementedException();
}

From source file:com.github.seleniumpm.SeleniumWebdriver.java

public void showContextualBanner() {
    throw new NotImplementedException();
}

From source file:com.cloudera.flume.handlers.thrift.ThriftFlumeEventServerImpl.java

@Override
public void checkAck(ThriftEventAck ack) throws TException {
    throw new NotImplementedException();
}

From source file:com.thoughtworks.studios.journey.jql.conditions.IntValue.java

@Override
public Value multiply(Value right) {
    if (right instanceof IntValue) {
        return new IntValue(val * ((IntValue) right).val);
    }//from w w  w  .jav a  2 s .co m

    if (right instanceof FloatValue) {
        return new FloatValue(val * ((FloatValue) right).val);
    }

    if (right instanceof StringValue) {
        throw new DataQueryError("cannot times string value to an integer value");
    }

    throw new NotImplementedException();
}

From source file:com.hartveld.queryable.reactive.subjects.AbstractSubject.java

@Override
public <R> Observable<R> flatMap(final Function<? super T, ? extends Monad<? extends R>> mapper) {
    throw new NotImplementedException();
}

From source file:com.opengamma.analytics.math.matrix.OGMatrixAlgebra.java

/**
 * {@inheritDoc}/*from  w  ww .  j  a va 2  s . c  om*/
 * This is only implemented for {@link DoubleMatrix1D}.
 * @throws IllegalArgumentException If the matrix is not a {@link DoubleMatrix1D}
 */
@Override
public double getNorm2(final Matrix<?> m) {
    Validate.notNull(m, "m");
    if (m instanceof DoubleMatrix1D) {
        final double[] a = ((DoubleMatrix1D) m).getData();
        final int l = a.length;
        double sum = 0.0;
        for (int i = 0; i < l; i++) {
            sum += a[i] * a[i];
        }
        return Math.sqrt(sum);
    } else if (m instanceof DoubleMatrix2D) {
        throw new NotImplementedException();
    }
    throw new IllegalArgumentException("Can only find norm2 of a DoubleMatrix1D; have " + m.getClass());
}