public class ExceptionReport extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.opengis.net/ows}Exception" maxOccurs="unbounded"/>
</sequence>
<attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="language" type="{http://www.w3.org/2001/XMLSchema}language" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Exception> |
exception |
protected String |
language |
protected String |
version |
| Constructor and Description |
|---|
ExceptionReport()
Default no-arg constructor
|
ExceptionReport(List<Exception> exception,
String version,
String language)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Exception> |
getException()
Unordered list of one or more Exception elements that each describes an error.
|
String |
getLanguage()
Gets the value of the language property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setLanguage(String value)
Sets the value of the language property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
public List<Exception> getException()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the exception property.
For example, to add a new item, do as follows:
getException().add(newItem);
Objects of the following type(s) are allowed in the list
Exception
public String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getLanguage()
StringCopyright © 2022 B3Partners B.V.. All rights reserved.