Package it.eng.spagobi.utilities.engines

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


    // 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


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

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

      }
      else if(documentLabel != null){
        template = contentProxy.readTemplateByLabel(documentLabel, requestParameters);
     
      try {
        if(template == null)throw new SpagoBIEngineRuntimeException("There are no template associated to document [" + documentId + "]");
        templateContent = DECODER.decodeBuffer(template.getContent());
      } catch (Throwable e) {
        SpagoBIEngineStartupException engineException = new SpagoBIEngineStartupException("COmmonj", "Impossible to get template's content", e);
        engineException.setDescription("Impossible to get template's content:  " + e.getMessage());
        engineException.addHint("Check the document's template");
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 png: " + e.getCause(), e);
      throw new SpagoBIEngineRuntimeException("Impossible to convert svg to png: " + 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.