Package org.jasig.portal.container.om.servlet

Examples of org.jasig.portal.container.om.servlet.ErrorPageImpl


        for (int i = 0; i < errorPageNL.getLength(); i++) {
            Element errorPageE = (Element)errorPageNL.item(i);
            String errorCode = XML.getChildElementText(errorPageE, "error-code");
            String exceptionType = XML.getChildElementText(errorPageE, "exception-type");
            String location = XML.getChildElementText(errorPageE, "location");
            ErrorPageImpl errorPage = new ErrorPageImpl();
            errorPage.setErrorCode(errorCode);
            errorPage.setExceptionType(exceptionType);
            errorPage.setLocation(location);
            errorPages[i] = errorPage;
        }
        return errorPages;
    }
View Full Code Here


       
        // <error-page>
        ErrorPageImpl[] errorPages = webAppImpl.getErrorPages();
        if(errorPages != null) {
            for (int i = 0; i < errorPages.length; i++) {
                ErrorPageImpl errorPage = errorPages[i];
                Element errorPageE = doc.createElement("error-page");
                addTextElement(errorPageE, "error-code", errorPage.getErrorCode());
                addTextElement(errorPageE, "exception-type", errorPage.getExceptionType());
                addTextElement(errorPageE, "location", errorPage.getLocation());
                webAppE.appendChild(errorPageE);
            }
        }
       
        // <taglib>
View Full Code Here

TOP

Related Classes of org.jasig.portal.container.om.servlet.ErrorPageImpl

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.