Package it.eng.spagobi.utilities.engines

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


      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

   
    try {
      result = previousLoader != null? (JSONObject)previousLoader.load(rowData): new JSONObject(rowData);
      result = this.convert(result);
    }catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible to load from rowData [" + rowData + "]", t);
    }
   
    return result;
  }
View Full Code Here

 
  public JSONObject getConf(){
    try {
      return (JSONObject) SerializationManager.serialize(this, "application/json");
    } catch (Exception e) {
       throw new SpagoBIEngineRuntimeException("Error while serializing worksheet definition", e);
    }

  }
View Full Code Here

                schema = (String)getUserProfile().getUserAttribute(attrname);
                Assert.assertNotNull(schema, "Impossible to retrive the value of attribute [" + attrname + "] form user profile");
                dataSource.setJndi( dataSource.getJndi() + schema);
                logger.debug("Target schema for datasource  [" + dataSource.getLabel() + "] is [" + dataSource.getJndi()+ "]");
            } catch (Throwable t) {
                throw new SpagoBIEngineRuntimeException("Impossible to retrive target schema for datasource [" + dataSource.getLabel() + "]", t);
            }
            logger.debug("Target schema for datasource  [" + dataSource.getLabel() + "] retrieved succesfully");
        }           

    return dataSource;
View Full Code Here

    try {
      // load data
      result = new JSONObject(rowData);
      result = this.load(result);
    }catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible to load from rowData [" + rowData + "]", t);
    }
   
    return result;
  }
View Full Code Here

      // make next converts
      if (nextLoader != null) {
        result = nextLoader.load(result);
      }
    } catch(Throwable t) {
      throw new SpagoBIEngineRuntimeException("Impossible to load from JSON object [" + jsonObject + "]", t);
    }
   
    return result;
  }
View Full Code Here

        ext = ".svg";
        exportFile = File.createTempFile("chart", ext);
        outputStream = new FileOutputStream(exportFile);
        writeSVG(inputStream, outputStream);
      } else {
        throw new SpagoBIEngineRuntimeException("Output format [" + outputType + "] not supperted");
      }
     
      String mimetype = MimeUtils.getMimeType(exportFile);
     
      try {
View Full Code Here

    // save the image
    try {
      t.transcode(input, output);
    } catch (TranscoderException e) {
      logger.error("Impossible to convert svg to jpeg: " + e.getCause(), e);
      throw new SpagoBIEngineRuntimeException("Impossible to convert svg to jpeg: " + e.getCause(), e);
    }
  }
View Full Code Here

    // save the image
    try {
      t.transcode(input, output);
    } catch (TranscoderException e) {
      logger.error("Impossible to convert svg to jpeg: " + e.getCause(), e);
      throw new SpagoBIEngineRuntimeException("Impossible to convert svg to jpeg: " + e.getCause(), e);
    }
  }
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.