public class ErrorPage
extends java.lang.Object
Constructor and Description |
---|
ErrorPage()
Creates the error page.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public void setLocation(java.lang.String location)
public java.lang.String getLocation()
public void setExceptionType(java.lang.String exceptionType)
public java.lang.String getExceptionType()
public void setErrorCode(int code)
public int getErrorCode()
@PostConstruct public void init() throws ServletException
ServletException