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 )