Package org.pentaho.reporting.engine.classic.core

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


  public InstanceID getMeasureHeaderSubflowId ()
  {
    if (generateMeasureHeaders == false)
    {
      throw new InvalidReportStateException();
    }
    return columnHeaderSubflows[columnHeaderSubflows.length - 1];
  }
View Full Code Here


      logger.debug("LayoutShift: Offending Content: " + box);
      logger.debug("LayoutShift: Offending Content: " + box.isFinishedTable());
    }
    if (failOnCellConflicts)
    {
      throw new InvalidReportStateException("Cannot export content, discovered overlapping cells.");
    }
  }
View Full Code Here

            continue;
          }

          if (content.isCommited() == false)
          {
            throw new InvalidReportStateException(
                "Uncommited content encountered: " + row + ", " + col + ' ' + content);
          }

          final long contentOffset = contentProducer.getContentOffset(row, col);
View Full Code Here

      final long realShift = shift + additionalShift;
      if (error)
      {
        ModelPrinter.INSTANCE.print(box);
        ModelPrinter.INSTANCE.print(ModelPrinter.getRoot(box));
        throw new InvalidReportStateException(String.format("Assert: Shift is not as expected: " +
            "realY=%d != expectation=%d; Shift=%d; AdditionalShift=%d; RealShift=%d",
            realY, expectedYPos, shift, additionalShift, realShift));
      }
      else
      {
View Full Code Here

            continue;
          }

          if (content.isCommited() == false)
          {
            throw new InvalidReportStateException("Uncommited content encountered");
          }

          final long contentOffset = contentProducer.getContentOffset(row, col);
          final long colPos = sheetLayout.getXPosition(col);
          final long rowPos = sheetLayout.getYPosition(row);
View Full Code Here

        clearText();
      }
    }
    catch (final IOException ioe)
    {
      throw new InvalidReportStateException("Failed to write text", ioe);
    }
  }
View Full Code Here

      }
    }
    catch (final IOException ioe)
    {
      throw new InvalidReportStateException("Failed to write text", ioe);
    }

  }
View Full Code Here

      throw new IllegalStateException();
    }

    if (styleSheet instanceof ElementStyleSheet)
    {
      throw new InvalidReportStateException("Cannot have render-nodes with mutable style");
    }
    if (styleSheet.getStyleProperty(TextStyleKeys.FONTSIZE) == null)
    {
      throw new InvalidReportStateException("Every resolved style must have a non-null font-size");
    }
    if (styleSheet.getStyleProperty(ElementStyleKeys.STROKE) == null)
    {
      throw new InvalidReportStateException("Every resolved style must have a non-null stroke");
    }

    this.majorAxis = majorAxis;
    this.minorAxis = minorAxis;
    this.instanceId = instanceID;
View Full Code Here

    {
      throw fe;
    }
    catch (final Exception e)
    {
      throw new InvalidReportStateException("ReportInitialized failed", e);
    }
    finally
    {
      clearCurrentEvent();
    }
View Full Code Here

    {
      throw fe;
    }
    catch (final Exception e)
    {
      throw new InvalidReportStateException("ReportStarted failed", e);
    }
    finally
    {
      clearCurrentEvent();
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.engine.classic.core.InvalidReportStateException

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.