Package net.sf.jasperreports.engine

Examples of net.sf.jasperreports.engine.JRRuntimeException


      {
        return i;
      }
    }
   
    throw new JRRuntimeException("No such axis \"" + name + "\".");
  }
View Full Code Here


    do
    {
      read = fileChannel.read(buffer, fileOffset + totalRead);
      if (read < 0)
      {
        throw new JRRuntimeException("Unable to read sufficient data from the swap file");
      }
      totalRead += read;
    }
    while (totalRead < dataLength);
  }
View Full Code Here

      else
      {
        awtFont = face.getFont();
        if (awtFont == null)
        {
          throw new JRRuntimeException("The '" + face.getName() + "' font face in family '" + family.getName() + "' returns a null font.");
        }

        awtFont = awtFont.deriveFont((float)size);
       
        awtFont = awtFont.deriveFont(style & ~faceStyle);
View Full Code Here

      if (log.isErrorEnabled())
      {
        log.error("Fill " + subreportFiller.fillerId + ": exception", e);
      }
     
      throw new JRRuntimeException("Error encountered while waiting on the report filling thread.", e);
    }
   
    if (log.isDebugEnabled())
    {
      log.debug("Fill " + subreportFiller.fillerId + ": notified of fill result");
View Full Code Here

      return clone;
    }
    catch (CloneNotSupportedException e)
    {
      // never
      throw new JRRuntimeException(e);
    }
  }
View Full Code Here

        return clone;
      }
      catch (CloneNotSupportedException e)
      {
        // never
        throw new JRRuntimeException(e);
      }
    }
View Full Code Here

        filled = fillBandNoOverflow(pageHeader, evaluation);
      }

      if (!filled)
      {
        throw new JRRuntimeException("Infinite loop creating new page due to page header overflow.");
      }
    }

    columnHeaderOffsetY = offsetY;
View Full Code Here

          {
            Thread.sleep(sleep);
          }
          catch (InterruptedException ie)
          {
            throw new JRRuntimeException(ie); //NOPMD
          }
        }
      }
    }
    while(true);
View Full Code Here

          fits = columnHeader.getHeight() <= columnFooterOffsetY - offsetY;
        }

        if (!fits)
        {
          throw new JRRuntimeException("Infinite loop creating new page due to column header size.");
        }

        setOffsetX();
        offsetY = columnHeaderOffsetY;
View Full Code Here

  {
    if (isSubreport())
    {
      if (!parentFiller.isBandOverFlowAllowed())
      {
        throw new JRRuntimeException("Subreport overflowed on a band that does not support overflow.");
      }

      //if (
      //  columnIndex == 0 ||
      //  (columnIndex > 0 && printPageStretchHeight < offsetY + bottomMargin)
View Full Code Here

TOP

Related Classes of net.sf.jasperreports.engine.JRRuntimeException

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.