Examples of ReportProcessingException


Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

  }

  public void itemsFinished(final DefaultOutputFunction outputFunction,
                            final ReportEvent event) throws ReportProcessingException
  {
    throw new ReportProcessingException("A crosstab-row cannot contain a detail band. Never.");
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

        element.setAttribute(AttributeNames.Wizard.NAMESPACE, AttributeNames.Wizard.AGGREGATION_TYPE, null);
        definition.addExpression(o);
      }
      catch (Exception e)
      {
        throw new ReportProcessingException("Failed to pre-process the report", e);
      }
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

      {
        return s;
      }
      i += 1;
    }
    throw new ReportProcessingException("Unable to create a unique name for the given pattern");
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

      {
        return s;
      }
      i += 1;
    }
    throw new ReportProcessingException("Unable to create a unique name for the given pattern");
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

        final Resource resource = resourceManager.create(resourceKey, contentBase, WizardSpecification.class);
        return (WizardSpecification) resource.getResource();
      }
      catch (ResourceKeyCreationException e)
      {
        throw new ReportProcessingException("Failed to load the wizard-specification", e);
      }
      catch (ResourceException e)
      {
        throw new ReportProcessingException("Failed to load the wizard-specification", e);
      }
    }

    try
    {
      final ResourceKey contentBase = definition.getContentBase();
      final ResourceKey resourceKey = resourceManager.deriveKey(contentBase, "wizard-specification.xml");
      final Resource resource = resourceManager.create(resourceKey, contentBase, WizardSpecification.class);
      return (WizardSpecification) resource.getResource();
    }
    catch (final ResourceKeyCreationException e)
    {
      // not a error.
    }
    catch (final ResourceLoadingException e)
    {
      // not a error
    }
    catch (ResourceException e)
    {
      throw new ReportProcessingException("Failed to load the wizard-specification", e);
    }
    return null;
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

        }
      }
    }
    catch (final CloneNotSupportedException cne)
    {
      throw new ReportProcessingException("Cloning failed", cne);
    }

    registerAsChild(rootGroup);
    registerAsChild(reportHeader);
    registerAsChild(reportFooter);
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

      generate(report, flowController);
      return report;
    }
    catch (CloneNotSupportedException e)
    {
      throw new ReportProcessingException("Unable to derive a working copy", e);
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

      generate(report, flowController);
      return report;
    }
    catch (CloneNotSupportedException e)
    {
      throw new ReportProcessingException("Unable to derive a working copy", e);
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

      }
      storage.put(key, copy);
    }
    catch (CloneNotSupportedException e)
    {
      throw new ReportProcessingException("Storing expressions failed.");
    }
  }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.ReportProcessingException

      return copy;
    }
    catch (CloneNotSupportedException e)
    {
      throw new ReportProcessingException("Restoring expressions failed.");
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.