Package com.volantis.mcs.xdime

Examples of com.volantis.mcs.xdime.XDIMEException


        try {
            protocol.writeOpenTableCaption((CaptionAttributes)protocolAttributes);
        } catch (ProtocolException e) {
            logger.error("rendering-error", getTagName(), e);

            throw new XDIMEException(exceptionLocalizer.format(
                "rendering-error", getTagName()), e);
        }
    }
View Full Code Here


        DivAttributes divAttributes = new DivAttributes();
        divAttributes.copy(protocolAttributes);
        try {
            getProtocol(context).writeOpenDiv(divAttributes);
        } catch (ProtocolException e) {
            throw new XDIMEException(e);
        }
    }
View Full Code Here

            closeObjectCaption(context, (ObjectElement) object);

        } else {
            // This should never happen
            logger.error("internal-error-while-processing-element", getTagName());
            throw new XDIMEException(
                exceptionLocalizer.format(
                    "internal-error-while-processing-element", getTagName()));
        }
    }
View Full Code Here

                return XDIMEResult.SKIP_ELEMENT_BODY;
            }
        } catch (ProtocolException e) {
            LOGGER.error("rendering-error", getTagName(), e);

            throw new XDIMEException(EXCEPTION_LOCALIZER.format(
                "rendering-error", getTagName()), e);
        }   
        return XDIMEResult.PROCESS_ELEMENT_BODY;      
     }
View Full Code Here

             }
             renderer.renderClose(getProtocol(context), (TickerAttributes)protocolAttributes);
         } catch (ProtocolException e) {
             LOGGER.error("rendering-error", getTagName(), e);

             throw new XDIMEException(EXCEPTION_LOCALIZER.format(
                 "rendering-error", getTagName()), e);
         }            // TODO: do we need to do anything here?
      }
View Full Code Here

     * Ensures, that the feed poller element has already been specified on the
     * page.
     */
    protected void checkFeedPollerSpecified(XDIMEContextInternal context) throws XDIMEException {
        if (context.getSingletonElement(TickerElements.FEED_POLLER) == null) {
            throw new XDIMEException(EXCEPTION_LOCALIZER.format("ticker-element-order-error",
                    new Object[] {TickerElements.FEED_POLLER.toString(), getElementType()}));
        }
    }
View Full Code Here

        try {
            protocol.writeOpenCode((CodeAttributes)protocolAttributes);
        } catch (ProtocolException e) {
            logger.error("rendering-error", getTagName(), e);

            throw new XDIMEException(exceptionLocalizer.format(
                "rendering-error", getTagName()), e);
        }
        return XDIMEResult.PROCESS_ELEMENT_BODY;
    }
View Full Code Here

            try {
                module.renderClose(protocol);
            } catch (ProtocolException e) {
                logger.error("rendering-error", getTagName(), e);

                throw new XDIMEException(exceptionLocalizer.format(
                    "rendering-error", getTagName()), e);
            }
        }

        // Wait for MediaAgent to complete all its requests and invoke all
View Full Code Here

            VolantisProtocol protocol = getProtocol(context);
            protocol.setWriteHead(false);
            protocol.openAJAXResponsePage((ResponseBodyAttributes)protocolAttributes);
        } catch (PolicyException e) {
            logger.error("unexpected-exception", e);
            throw new XDIMEException(e);
        } catch (RepositoryException e) {
            logger.error("repository-exception", e);
            throw new XDIMEException(e);
        } catch (IOException e) {
            logger.error("unexpected-ioexception", e);
            throw new XDIMEException(e);
        } catch (ProtocolException e) {
            logger.error("rendering-error", getTagName(), e);
            throw new XDIMEException(exceptionLocalizer.format(
                    "rendering-error", getTagName()), e);
        }

    }
View Full Code Here

                String relativeRequestURL = pageContext.getRelativeRequestURL();
            }

        } catch (IOException e) {
            logger.error("unexpected-ioexception", e);
            throw new XDIMEException(e);
        } catch (ProtocolException e) {
            logger.error("unexpected-exception", e);
            throw new XDIMEException(e);
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.xdime.XDIMEException

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.