Package com.volantis.mcs.protocols.renderer

Examples of com.volantis.mcs.protocols.renderer.RendererException


            String altText = getAltText(item);
            if (altText != null) {
                element.setAttribute("alt", altText);
            }
        } catch (AssetReferenceException e) {
            throw new RendererException(e);
        }

        return MenuItemRenderedContent.TEXT;
    }
View Full Code Here


            url = icon.getOverURL().getURL();
            element.setAttribute("over", url);

        } catch (AssetReferenceException e) {
            throw new RendererException(e);
        }

        return MenuItemRenderedContent.IMAGE;
    }
View Full Code Here

            MenuModelVisitor visitor = new SimpleAbstractMenuModelVisitor();

            try {
                visitor.visit(menu);
            } catch (MenuModelVisitorException e) {
                throw new RendererException(e);
            }
        }
View Full Code Here

                module.writeOpenSegment(attributes);
                module.writeCloseSegment(attributes);
            }
        } catch (IOException e) {
            throw new RendererException(
                    exceptionLocalizer.format("renderer-error",
                            instance.getFormat()), e);
        }
    }
View Full Code Here

                    // illegal.
                    context.renderFormat(childInstance);
                }
            }
        } catch (IOException e) {
            throw new RendererException(
                    exceptionLocalizer.format("renderer-error",
                            instance.getFormat()), e);
        }
    }
View Full Code Here

                }
            } else {
                throw new UnsupportedOperationException();
            }
        } catch (IOException e) {
            throw new RendererException(
                    exceptionLocalizer.format("renderer-error",
                            instance.getFormat()), e);
        }
    }
View Full Code Here

        VolantisProtocol protocol = pageContext.getProtocol();
        try {
            protocol.writeDefaultSegmentLink(a);
        } catch (ProtocolException e) {
            throw new RendererException(
                        exceptionLocalizer.format(
                                    "default-segment-link-rendering-error"),
                        e);
        }
    }
View Full Code Here

                                    instance.getIndex());
                    context.renderFormat(replicaFormatInstance);
                }
            }
        } catch (IOException e) {
            throw new RendererException(
                    exceptionLocalizer.format("renderer-error",
                            instance.getFormat()), e);
        }
    }
View Full Code Here

                }

                module.writeCloseSegmentGrid(attributes);
            }
        } catch (IOException e) {
            throw new RendererException(
                    exceptionLocalizer.format("renderer-error",
                            instance.getFormat()), e);
        }
    }
View Full Code Here

            // Retrieve the TemporalIterator's child and ensure that it
            // only has a single child.
            int numChildren = temporal.getNumChildren();
            if (numChildren != 1) {
                throw new RendererException(exceptionLocalizer.format(
                        "render-temporal-iterator-multiple-children"));
            }
            Format child = temporal.getChildAt(0);

            // Use the open/closeSlide method in the protocols to create
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.renderer.RendererException

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.