Package mondrian.xmla

Examples of mondrian.xmla.XmlaException


                    @Override
                    public boolean evaluate( Object o ) {
                      Element el = ( (DefaultElement) o ).element( "DataSourceInfo" );

                      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() )
View Full Code Here


          MondrianCatalog mc =
              mcs.getCatalog( catalogName, PentahoSessionHolder.getSession() );

          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 )
View Full Code Here

TOP

Related Classes of mondrian.xmla.XmlaException

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.