FileDocCategorySizeDatePackage
ErrorPageDescriptor.javaAPI DocGlassfish v2 API2657Fri May 04 22:32:00 BST 2007com.sun.enterprise.deployment.web

ErrorPageDescriptor

public interface ErrorPageDescriptor
Objects exhiniting this interface represent an error page and the exception type or error code that will cause the redirect from the web container.

Fields Summary
Constructors Summary
Methods Summary
public intgetErrorCode()
return the error code for this error page descriptor.

public java.lang.StringgetExceptionType()
Return the exception type (full classname) for causing the redirect.

public java.lang.StringgetLocation()
Return the relative name of the page for the redirect.

public voidsetErrorCode(int errorCode)

public voidsetExceptionType(java.lang.String exceptionType)

public voidsetLocation(java.lang.String location)