FileDocCategorySizeDatePackage
ErrorPageDecorator.javaAPI DocGlassfish v2 API2846Fri May 04 22:36:04 BST 2007com.sun.enterprise.web.deploy

ErrorPageDecorator

public class ErrorPageDecorator extends org.apache.catalina.deploy.ErrorPage
Decorator of class org.apache.catalina.deploy.ErrorPage
author
Jean-Francois Arcand

Fields Summary
private com.sun.enterprise.deployment.web.ErrorPageDescriptor
decoree
private String
location
Constructors Summary
public ErrorPageDecorator(com.sun.enterprise.deployment.web.ErrorPageDescriptor decoree)

        this.decoree = decoree;
        setErrorCode(decoree.getErrorCode());
         String  exceptionType = decoree.getExceptionType();
        if (exceptionType.equals("")){
            setExceptionType(null);
        } else {
            setExceptionType(exceptionType);
        }
        
        setLocation(RequestUtil.URLDecode(decoree.getLocation()));
    
Methods Summary