Package mondrian.olap

Examples of mondrian.olap.MondrianException


                      if ( el == null || el.getText() == null || el.getTextTrim().length() == 0 ) {
                        throw new XmlaException(
                            SERVER_FAULT_FC,
                            UNKNOWN_ERROR_CODE,
                            UNKNOWN_ERROR_FAULT_FS,
                            new MondrianException(
                                "DataSourceInfo not defined for " + ( (DefaultElement) o ).attribute( "name" ).getText() )
                        );
                      }
                      return el.getText().matches( "(?i).*EnableXmla=['\"]?false['\"]?" );
                    }
View Full Code Here


          if ( mc == null ) {
            throw new XmlaException(
                CLIENT_FAULT_FC,
                HSB_BAD_RESTRICTION_LIST_CODE,
                HSB_BAD_RESTRICTION_LIST_FAULT_FS,
                new MondrianException(
                    "No such catalog: " + catalogName )
            );
          }

          Connection con =
View Full Code Here

                        this,
                        cellRequestCount,
                        groupingSets,
                        compoundPredicateList)));
        } catch (Exception e) {
            throw new MondrianException(e);
        }
    }
View Full Code Here

            return segmentMap;
        } catch (Throwable e) {
            throwable = e;
            if (stmt == null) {
                throw new MondrianException(e);
            }
            throw stmt.handle(e);
        } finally {
            if (stmt != null) {
                stmt.close();
View Full Code Here

                    : callbackWithCaching);
        } catch (Throwable t) {
            if (Util.getMatchingCause(t, AbortException.class) != null) {
                return null;
            } else {
                throw new MondrianException(
                    "Failed to load segment form SQL",
                    t);
            }
        }
    }
View Full Code Here

                        // allowing it maybe to match another rule.
                    }
                }
            }
        } catch (RecorderException ex) {
            throw new MondrianException(ex);
        } finally {
            msgRecorder.logInfoMessage(getLogger());
            msgRecorder.logWarningMessage(getLogger());
            msgRecorder.logErrorMessage(getLogger());
            if (msgRecorder.hasErrors()) {
View Full Code Here

    }

    @Override
    public RolapResultShepherd getResultShepherd() {
        if (shutdown) {
            throw new MondrianException("Server already shutdown.");
        }
        return this.shepherd;
    }
View Full Code Here

        return lockBox;
    }

    public AggregationManager getAggregationManager() {
        if (shutdown) {
            throw new MondrianException("Server already shutdown.");
        }
        return aggMgr;
    }
View Full Code Here

        String catalogName,
        String roleName)
        throws SQLException
    {
        if (shutdown) {
            throw new MondrianException("Server already shutdown.");
        }
        return this.getConnection(
            databaseName, catalogName, roleName,
            new Properties());
    }
View Full Code Here

        String roleName,
        Properties props)
        throws SQLException
    {
        if (shutdown) {
            throw new MondrianException("Server already shutdown.");
        }
        return repository.getConnection(
            this, databaseName, catalogName, roleName, props);
    }
View Full Code Here

TOP

Related Classes of mondrian.olap.MondrianException

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.