Package org.saiku.olap.util.exception

Examples of org.saiku.olap.util.exception.SaikuOlapException


          SaikuMember sm = ObjectUtil.convert(c);
          members.add(sm);
        }
      }
    } catch (OlapException e) {
      throw new SaikuOlapException("Cannot get child members of member:" + uniqueMemberName, e);
    }

    return members;
  }
View Full Code Here


      if (measures.size() == 0) {
        Hierarchy hierarchy = nativeCube.getDimensions().get("Measures").getDefaultHierarchy();
        measures = ObjectUtil.convertMembers(hierarchy.getRootMembers());
      }
    } catch (OlapException e) {
      throw new SaikuOlapException("Cannot get measures for cube:" + cube.getName(), e);
    }

//Collections.sort(measures, new SaikuMemberCaptionComparator());
    return measures;
  }
View Full Code Here

      if (m != null) {
        return ObjectUtil.convert(m);
      }
      return null;
    } catch (Exception e) {
      throw new SaikuOlapException("Cannot find member: " + uniqueMemberName + " in cube:" + cube.getName(), e);
    }
  }
View Full Code Here

TOP

Related Classes of org.saiku.olap.util.exception.SaikuOlapException

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.