com.caucho.server.webapp
Class ErrorPage

java.lang.Object
  extended by com.caucho.server.webapp.ErrorPage

public class ErrorPage
extends java.lang.Object

Resin's application implementation.


Constructor Summary
ErrorPage()
          Creates the error page.
 
Method Summary
 int getErrorCode()
          Gets the error code.
 java.lang.String getExceptionType()
          Gets the exception type
 java.lang.String getLocation()
          Gets the location.
 void init()
          Init
 void setErrorCode(int code)
          Sets the error code.
 void setExceptionType(java.lang.String exceptionType)
          Sets the exception type
 void setLocation(java.lang.String location)
          Sets the location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorPage

public ErrorPage()
Creates the error page.

Method Detail

setLocation

public void setLocation(java.lang.String location)
Sets the location.


getLocation

public java.lang.String getLocation()
Gets the location.


setExceptionType

public void setExceptionType(java.lang.String exceptionType)
Sets the exception type


getExceptionType

public java.lang.String getExceptionType()
Gets the exception type


setErrorCode

public void setErrorCode(int code)
Sets the error code.


getErrorCode

public int getErrorCode()
Gets the error code.


init

@PostConstruct
public void init()
          throws ServletException
Init

Throws:
ServletException