Package mondrian.olap.fun

Examples of mondrian.olap.fun.MondrianEvaluationException


         */
        double dbl = d.doubleValue();
        if (dbl < 0.0 || dbl > 1.0) {
            LOGGER.debug(
                "Invalid value for inverse normal distribution: " + dbl);
            throw new MondrianEvaluationException(
                "Invalid value for inverse normal distribution: " + dbl);
        }
        try {
            Double result = new Double(nd.inverseCumulativeProbability(dbl));
            LOGGER.debug("Inverse Normal result : " + result.doubleValue());
            return result;
        } catch (MathException e) {
            LOGGER.debug(
                "Exception calculating inverse normal distribution: " + dbl, e);
            throw new MondrianEvaluationException(
                "Exception calculating inverse normal distribution: " + dbl);
        }
    }
View Full Code Here


        // returns an error.
        double dbl = d.doubleValue();
        if (dbl < 0.0 || dbl > 1.0) {
            LOGGER.debug(
                "Invalid value for inverse normal distribution: " + dbl);
            throw new MondrianEvaluationException(
                "Invalid value for inverse normal distribution: " + dbl);
        }
        try {
            Double result = new Double(nd.inverseCumulativeProbability(dbl));
            LOGGER.debug("Inverse Normal result : " + result.doubleValue());
            return result;
        } catch (MathException e) {
            LOGGER.debug(
                "Exception calculating inverse normal distribution: " + dbl, e);
            throw new MondrianEvaluationException(
                "Exception calculating inverse normal distribution: " + dbl);
        }
    }
View Full Code Here

TOP

Related Classes of mondrian.olap.fun.MondrianEvaluationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.