public class ErrorPageType extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
protected ErrorCodeType |
errorCode |
protected FullyQualifiedClassType |
exceptionType |
protected String |
id |
protected WarPathType |
location |
| Constructor and Description |
|---|
ErrorPageType() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
ErrorPageType |
withErrorCode(ErrorCodeType value) |
ErrorPageType |
withExceptionType(FullyQualifiedClassType value) |
ErrorPageType |
withId(String value) |
ErrorPageType |
withLocation(WarPathType value) |
protected ErrorCodeType errorCode
protected FullyQualifiedClassType exceptionType
protected WarPathType location
protected String id
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 void setId(String value)
value - allowed object is
Stringpublic ErrorPageType withErrorCode(ErrorCodeType value)
public ErrorPageType withExceptionType(FullyQualifiedClassType value)
public ErrorPageType withLocation(WarPathType value)
public ErrorPageType withId(String value)
Copyright © 2020. All rights reserved.