Package org.apache.tapestry.services

Examples of org.apache.tapestry.services.ExceptionReporter


    public void handleRequestException(Throwable exception) throws IOException
    {
        Page page = _pageCache.get("ExceptionReport");

        ExceptionReporter rootComponent = (ExceptionReporter) page.getRootComponent();

        // Let the page set up for the new exception.

        rootComponent.reportException(exception);

        _renderer.renderPageResponse(page, _response);
    }
View Full Code Here


    {
        _log.error(ServicesMessages.requestException(exception), exception);

        Page page = _pageCache.get("ExceptionReport");

        ExceptionReporter rootComponent = (ExceptionReporter) page.getRootComponent();

        // Let the page set up for the new exception.

        rootComponent.reportException(exception);

        _renderer.renderPageResponse(page, _response);
    }
View Full Code Here

    {
        _logger.error(ServicesMessages.requestException(exception), exception);

        Page page = _pageCache.get("ExceptionReport");

        ExceptionReporter rootComponent = (ExceptionReporter) page.getRootComponent();

        // Let the page set up for the new exception.

        rootComponent.reportException(exception);

        _renderer.renderPageResponse(page);
    }
View Full Code Here

    {
        _logger.error(ServicesMessages.requestException(exception), exception);

        Page page = _pageCache.get("ExceptionReport");

        ExceptionReporter rootComponent = (ExceptionReporter) page.getRootComponent();

        // Let the page set up for the new exception.

        rootComponent.reportException(exception);

        _renderer.renderPageResponse(page, _response);
    }
View Full Code Here

    {
        _logger.error(ServicesMessages.requestException(exception), exception);

        Page page = _pageCache.get("ExceptionReport");

        ExceptionReporter rootComponent = (ExceptionReporter) page.getRootComponent();

        // Let the page set up for the new exception.

        rootComponent.reportException(exception);

        _renderer.renderPageResponse(page, _response);
    }
View Full Code Here

    {
        _logger.error(ServicesMessages.requestException(exception), exception);

        Page page = _pageCache.get("ExceptionReport");

        ExceptionReporter rootComponent = (ExceptionReporter) page.getRootComponent();

        // Let the page set up for the new exception.

        rootComponent.reportException(exception);

        _renderer.renderPageResponse(page);
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.services.ExceptionReporter

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.