Package org.saiku.service.util.exception

Examples of org.saiku.service.util.exception.SaikuServiceException


    try {

      return metaExplorer.getAllMembers(cube, hierarchyName, levelName, searchString, searchLimit);

    } catch (SaikuOlapException e) {
      throw new SaikuServiceException("Cannot get all members for cube ( " + cube
                                      + " ) hierarchy ( " + hierarchyName + " )", e);
    }
  }
View Full Code Here


  @NotNull
  public List<SaikuMember> getMeasures(@NotNull SaikuCube cube) {
    try {
      return metaExplorer.getAllMeasures(cube);
    } catch (SaikuOlapException e) {
      throw new SaikuServiceException("Cannot get all measures for cube ( " + cube + " )", e);
    }
  }
View Full Code Here

  @NotNull
  public List<SaikuMember> getHierarchyRootMembers(@NotNull SaikuCube cube, String hierarchyName) {
    try {
      return metaExplorer.getHierarchyRootMembers(cube, hierarchyName);
    } catch (SaikuOlapException e) {
      throw new SaikuServiceException(e);
    }
  }
View Full Code Here

  @NotNull
  public List<SaikuMember> getMemberChildren(@NotNull SaikuCube cube, String uniqueMemberName) {
    try {
      return metaExplorer.getMemberChildren(cube, uniqueMemberName);
    } catch (SaikuOlapException e) {
      throw new SaikuServiceException(e);
    }
  }
View Full Code Here

  @Nullable
  public SaikuMember getMember(@NotNull SaikuCube cube, String uniqueMemberName) {
    try {
      return metaExplorer.getMember(cube, uniqueMemberName);
    } catch (SaikuOlapException e) {
      throw new SaikuServiceException(e);
    }
  }
View Full Code Here

        properties.put("org.saiku.connection.scenario", isScenario);
      } catch (Exception e) {
        properties.put("org.saiku.connection.scenario", false);
      }
    } catch (Exception e) {
      throw new SaikuServiceException(e);
    }
    return properties;
  }
View Full Code Here

        Connection con = null;
        try {
          statement = rs.getStatement();
          con = rs.getStatement().getConnection();
        } catch (Exception e) {
          throw new SaikuServiceException(e);
        } finally {
          try {
            rs.close();
            if (statement != null) {
              statement.close();
View Full Code Here

        try {
          Statement statement = rs.getStatement();
          statement.close();
          rs.close();
        } catch (SQLException e) {
          throw new SaikuServiceException(e);
        } finally {
          rs = null;
        }
      }
    }
View Full Code Here

        }
      }


    } catch (Exception e) {
      throw new SaikuServiceException(e.getMessage(), e);
    }
  }
View Full Code Here

               + "ms");

      result.setRuntime(new Double(format - start).intValue());
      return result;
    } catch (Exception e) {
      throw new SaikuServiceException("Can't execute query: " + tq.getName(), e);
    } catch (Error e) {
      throw new SaikuServiceException("Can't execute query: " + tq.getName(), e);
    }
  }
View Full Code Here

TOP

Related Classes of org.saiku.service.util.exception.SaikuServiceException

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.