Examples of RenderException


Examples of org.locationtech.udig.project.render.RenderException

                    setState( DONE );
              }
              //tempCache.flush();
      }
        } catch (Exception e1) {
            throw new RenderException(e1);
        }
        finally {
            getContext().setStatus(ILayer.DONE);
            getContext().setStatusMessage(null);
        }
View Full Code Here

Examples of org.locationtech.udig.project.render.RenderException

            throws RenderException {
        GridCoverageRenderState state = null;
        try {
            state = prepareRender(monitor);
        } catch (IOException e1) {
            throw new RenderException(e1);
        }

        doRender(renderer, graphics, state);
    }
View Full Code Here

Examples of org.locationtech.udig.project.render.RenderException

            renderGridCoverage(destination, backprojectedBBox, imageDimensions, requestBBox, image);

        } catch (Exception e) {
          if( e instanceof RenderException )
            throw (RenderException) e;
            throw new RenderException(e);
        } finally {
            getContext().setStatus(endLayerStatus);
            if (endLayerStatus == ILayer.DONE) {
                // clear the status message (rendering was successful)
                getContext().setStatusMessage(null);
View Full Code Here

Examples of org.locationtech.udig.project.render.RenderException

                } catch (ServiceException e) {
                    exception[0]=wrapException(e);
                } catch( Throwable t){
                  String message = Messages.BasicWMSRenderer2_errorObtainingImage;
          image[0] = getContext().getImage();
          exception[0]=new RenderException(message, t);
                } finally {
                    synchronized (condition) {
                        condition.notify();
                    }
                    if (inputStream != null)
View Full Code Here

Examples of org.locationtech.udig.project.render.RenderException

        return false; // TODO
    }

    public RenderException wrapException( Throwable t ) {
        getContext().setStatus(ILayer.ERROR);
        RenderException renderException = new RenderException(t.getLocalizedMessage());
        renderException.initCause(t);
        return renderException;
    }
View Full Code Here

Examples of org.locationtech.udig.project.render.RenderException

                    setState( DONE );
              }
              //tempCache.flush();
      }
        } catch (Exception e1) {
            throw new RenderException(e1);
        }
        finally {
            getContext().setStatus(ILayer.DONE);
            getContext().setStatusMessage(null);
        }
View Full Code Here

Examples of org.molgenis.ui.theme.RenderException

    if (renderers.get(e.getClass().getName()) != null)
    {
      TwoStepView v = renderers.get(e.getClass().getName());
      return v.render(e, this);
    }
    throw new RenderException("no view found for component "+e.getClass());
  }
View Full Code Here

Examples of org.openhab.ui.webapp.render.RenderException

          snippetCache.put(elementType, snippet);
        } catch (IOException e) {
          logger.warn("Cannot load snippet for element type '{}'", elementType, e);
        }
      } else {
        throw new RenderException("Cannot find a snippet for element type '" + elementType + "'");
      }
    }
    return snippet;
  }
View Full Code Here

Examples of org.pirkaengine.core.RenderException

            indexName = params[0];
            itemName = params[1];
            checkIn(params, 2);
            itemsName = params[3];
        } else {
            throw new RenderException("illegal format for prk:for :" + startTagNode.attrValue);
        }
    }
View Full Code Here

Examples of org.pirkaengine.core.RenderException

    public String getItemName() {
        return this.itemName;
    }

    private void checkIn(String[] params, int index) {
        if (!params[index].equals("in")) throw new RenderException("Illegal expression: " + startTagNode.attrValue);
    }
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.