|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.web.extender.war.internal.model.WebAppErrorPage
public class WebAppErrorPage
Models an error page element in web.xml.
| Constructor Summary | |
|---|---|
WebAppErrorPage()
|
|
| Method Summary | |
|---|---|
String |
getError()
Returns the exception type or error code dependeing on which one is set. |
String |
getErrorCode()
Getter. |
String |
getExceptionType()
Getter. |
String |
getLocation()
Getter. |
void |
setErrorCode(String errorCode)
Setter. |
void |
setExceptionType(String exceptionType)
Setter. |
void |
setLocation(String location)
Setter. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WebAppErrorPage()
| Method Detail |
|---|
public String getErrorCode()
public void setErrorCode(String errorCode)
errorCode - value to setpublic String getExceptionType()
public void setExceptionType(String exceptionType)
exceptionType - value to setpublic String getLocation()
public void setLocation(String location)
location - value to set. Cannot be null.
org.ops4j.lang.NullArgumentException - if location is null or emptypublic String getError()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||