|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.http.webxml.schema.version_3_0.ErrorPageType
public class ErrorPageType
The error-pageType contains a mapping between an error code or exception type to the path of a resource in the web application. Error-page declarations using the exception-type element in the deployment descriptor must be unique up to the class name of the exception-type. Similarly, error-page declarations using the status-code element must be unique in the deployment descriptor up to the status code. Used in: web-app
Java class for error-pageType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="error-pageType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="error-code" type="{http://java.sun.com/xml/ns/javaee}error-codeType"/>
<element name="exception-type" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
</choice>
<element name="location" type="{http://java.sun.com/xml/ns/javaee}war-pathType"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected ErrorCodeType |
errorCode
|
protected FullyQualifiedClassType |
exceptionType
|
protected String |
id
|
protected WarPathType |
location
|
| Constructor Summary | |
|---|---|
ErrorPageType()
|
|
| Method Summary | |
|---|---|
ErrorCodeType |
getErrorCode()
Gets the value of the errorCode property. |
FullyQualifiedClassType |
getExceptionType()
Gets the value of the exceptionType property. |
String |
getId()
Gets the value of the id property. |
WarPathType |
getLocation()
Gets the value of the location property. |
void |
setErrorCode(ErrorCodeType value)
Sets the value of the errorCode property. |
void |
setExceptionType(FullyQualifiedClassType value)
Sets the value of the exceptionType property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setLocation(WarPathType value)
Sets the value of the location property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ErrorCodeType errorCode
protected FullyQualifiedClassType exceptionType
protected WarPathType location
protected String id
| Constructor Detail |
|---|
public ErrorPageType()
| Method Detail |
|---|
public ErrorCodeType getErrorCode()
ErrorCodeTypepublic void setErrorCode(ErrorCodeType value)
value - allowed object is
ErrorCodeTypepublic FullyQualifiedClassType getExceptionType()
FullyQualifiedClassTypepublic void setExceptionType(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic WarPathType getLocation()
WarPathTypepublic void setLocation(WarPathType value)
value - allowed object is
WarPathTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||