Package it.eng.spagobi.utilities.engines

Examples of it.eng.spagobi.utilities.engines.SpagoBIEngineRuntimeException


        convertQuery( subqueriesJSON.getJSONObject(j) );
      }
     
      logger.debug( "Query [" + queryId + "] converted succesfully");
    }catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible convert query [" + queryId + "]", t);
    } finally {
      logger.debug( "OUT" );
    }
  }
View Full Code Here


      queriesJSON.put(queryJSON);
      catalogueJSON.put("queries", queriesJSON);
      resultJSON.put("catalogue", catalogueJSON);
      logger.debug( "Conversion from encoding version [" + FROM_VERSION + "] to encoding version [" + TO_VERSION + "] terminated succesfully" );
    }catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible to load from rowData [" + data + "]", t);
    } finally {
      logger.debug("OUT");
    }
   
    return resultJSON;
View Full Code Here

      resultJSON.put("catalogue", catalogueJSON);
     
      logger.debug( "Converted data [" + resultJSON.toString() + "]");
      logger.debug( "Conversion from encoding version [" + FROM_VERSION + "] to encoding version [" + TO_VERSION + "] terminated succesfully" );
    }catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible to load from rowData [" + data + "]", t);
    } finally {
      logger.debug( "OUT" );
    }
     
   
View Full Code Here

        convertQuery( subqueriesJSON.getJSONObject(j) );
      }
     
      logger.debug( "Query [" + queryId + "] converted succesfully");
    }catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible convert query [" + queryId + "]", t);
    } finally {
      logger.debug( "OUT" );
    }
  }
View Full Code Here

        query = SerializerFactory.getDeserializer("application/json").deserializeQuery(queryJSON, getDataSource());
               
        catalogue.addQuery(query);
      }
    } catch (Throwable e) {
      throw new SpagoBIEngineRuntimeException("Impossible to deserialize catalogue", e);
    }
   
    return catalogue;
  }
View Full Code Here

        queriesJSON.put( queryJSON );
      }
     
      catalogueJSON.put("queries", queriesJSON);
    } catch (Throwable e) {
      throw new SpagoBIEngineRuntimeException("Impossible to serialize catalogue", e);
    }
   
    setProperty( QbeEngineStaticVariables.CATALOGUE, catalogueJSON );
  }
View Full Code Here

  public void setWorkSheetDefinition(WorkSheetDefinition workSheetDefinition) {
    JSONObject workSheetDefinitionJSON = null;
    try {
      workSheetDefinitionJSON = (JSONObject)SerializationManager.serialize(workSheetDefinition, "application/json");
    } catch (Throwable e) {
      throw new SpagoBIEngineRuntimeException("Impossible to serialize workSheetDefinition definition", e);
    }
    setProperty( QbeEngineStaticVariables.WORKSHEET_DEFINITION, workSheetDefinitionJSON );
  }
View Full Code Here

    }
   
    try {
      workSheetDefinition = (WorkSheetDefinition)SerializationManager.deserialize(workSheetDefinitionJSON, "application/json", WorkSheetDefinition.class);
    } catch (Throwable e) {
      throw new SpagoBIEngineRuntimeException("Impossible to deserialize workSheetDefinition definition", e);
    }
   
    return workSheetDefinition;
   
  }
View Full Code Here

      data.put("crosstabdefinition", new JSONObject());
     
      logger.debug( "Converted data [" + data.toString() + "]");
      logger.debug( "Conversion from encoding version [" + FROM_VERSION + "] to encoding version [" + TO_VERSION + "] terminated succesfully" );
    }catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible to load from rowData [" + data + "]", t);
    } finally {
      logger.debug( "OUT" );
    }
    return data;
  }
View Full Code Here

        convertQuery( subqueriesJSON.getJSONObject(j) );
      }
     
      logger.debug( "Query [" + queryId + "] converted succesfully");
    }catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible convert query [" + queryId + "]", t);
    } finally {
      logger.debug( "OUT" );
    }
  }
View Full Code Here

TOP

Related Classes of it.eng.spagobi.utilities.engines.SpagoBIEngineRuntimeException

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.