Package nl.b3p.csw.jaxb.ows
Class ExceptionType
- java.lang.Object
-
- nl.b3p.csw.jaxb.ows.ExceptionType
-
public class ExceptionType extends Object
An Exception element describes one detected error that a server chooses to convey to the client.Java class for ExceptionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExceptionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ExceptionText" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="exceptionCode" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="locator" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringexceptionCodeprotected List<String>exceptionTextprotected Stringlocator
-
Constructor Summary
Constructors Constructor Description ExceptionType()Default no-arg constructorExceptionType(List<String> exceptionText, String exceptionCode, String locator)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetExceptionCode()Gets the value of the exceptionCode property.List<String>getExceptionText()Gets the value of the exceptionText property.StringgetLocator()Gets the value of the locator property.voidsetExceptionCode(String value)Sets the value of the exceptionCode property.voidsetLocator(String value)Sets the value of the locator property.
-
-
-
Method Detail
-
getExceptionText
public List<String> getExceptionText()
Gets the value of the exceptionText property.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
setmethod for the exceptionText property.For example, to add a new item, do as follows:
getExceptionText().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getExceptionCode
public String getExceptionCode()
Gets the value of the exceptionCode property.- Returns:
- possible object is
String
-
setExceptionCode
public void setExceptionCode(String value)
Sets the value of the exceptionCode property.- Parameters:
value- allowed object isString
-
getLocator
public String getLocator()
Gets the value of the locator property.- Returns:
- possible object is
String
-
-