Package net.sf.jasperreports.engine

Examples of net.sf.jasperreports.engine.JRRuntimeException


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


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

    {
      clone = (JRBaseTimeSeries)super.clone();
    }
    catch (CloneNotSupportedException e)
    {
      throw new JRRuntimeException(e);
    }

    if (seriesExpression != null)
    {
      clone.seriesExpression = (JRExpression)seriesExpression.clone();
View Full Code Here

    {
      clone = (JRBaseChartAxis)super.clone();
    }
    catch (CloneNotSupportedException e)
    {
      throw new JRRuntimeException(e);
    }
   
    return clone;
  }
View Full Code Here

    {
      configureDigester(digester);
    }
    catch (SAXException e)
    {
      throw new JRRuntimeException(e);
    }
    catch (ParserConfigurationException e)
    {
      throw new JRRuntimeException(e);
    }
    return digester;
  }
View Full Code Here

            JRLoader.loadBytesFromLocation("net/sf/jasperreports/engine/images/pixel.GIF", null)
            );
      }
      catch(Exception e)
      {
        throw new JRRuntimeException(e);
      }
    }

    return pxImage;
  }
View Full Code Here

        bytes = JRLoader.loadBytesFromLocation(pdfFont.getPdfFontName(), classLoader, urlHandlerFactory, fileResolver);
      }
      catch(JRException e)
      {
        throw //NOPMD
          new JRRuntimeException(
            "Could not load the following font : "
            + "\npdfFontName   : " + pdfFont.getPdfFontName()
            + "\npdfEncoding   : " + pdfFont.getPdfEncoding()
            + "\nisPdfEmbedded : " + pdfFont.isPdfEmbedded(),
            initialException
            );
      }

      BaseFont baseFont = null;

      try
      {
        baseFont =
          BaseFont.createFont(
            pdfFont.getPdfFontName(),
            pdfFont.getPdfEncoding(),
            pdfFont.isPdfEmbedded(),
            true,
            bytes,
            null
            );
      }
      catch(DocumentException e)
      {
        throw new JRRuntimeException(e);
      }
      catch(IOException e)
      {
        throw new JRRuntimeException(e);
      }

      font =
        new Font(
          baseFont,
View Full Code Here

  {
    Integer fieldIndex = (Integer)columnNamesMap.get(jrField.getName());

    if (fieldIndex == null)
    {
      throw new JRRuntimeException("Field \"" + jrField.getName() + "\" not found in data source.");
    }

    return currentRecord[fieldIndex.intValue()];
  }
View Full Code Here

      grx.stream(swriter);
      return new BatikRenderer(swriter.getBuffer().toString(), areaHyperlinks);
    }
    catch (SVGGraphics2DIOException e)
    {
      throw new JRRuntimeException(e);
    }
  }
View Full Code Here

    {
      clone = (JRBaseSection)super.clone();
    }
    catch (CloneNotSupportedException e)
    {
      throw new JRRuntimeException(e);
    }

    if (bands != null)
    {
      clone.bands = new JRBand[bands.length];
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.