public class MethodFault
extends java.lang.Object
Java class for MethodFault complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MethodFault"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="faultCause" type="{urn:lookup}LocalizedMethodFault" minOccurs="0"/> <element name="faultMessage" type="{urn:lookup}LocalizableMessage" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected LocalizedMethodFault |
faultCause |
protected java.util.List<LocalizableMessage> |
faultMessage |
Constructor and Description |
---|
MethodFault() |
Modifier and Type | Method and Description |
---|---|
LocalizedMethodFault |
getFaultCause()
Gets the value of the faultCause property.
|
java.util.List<LocalizableMessage> |
getFaultMessage()
Gets the value of the faultMessage property.
|
void |
setFaultCause(LocalizedMethodFault value)
Sets the value of the faultCause property.
|
protected LocalizedMethodFault faultCause
protected java.util.List<LocalizableMessage> faultMessage
public LocalizedMethodFault getFaultCause()
LocalizedMethodFault
public void setFaultCause(LocalizedMethodFault value)
value
- allowed object is
LocalizedMethodFault
public java.util.List<LocalizableMessage> getFaultMessage()
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 faultMessage property.
For example, to add a new item, do as follows:
getFaultMessage().add(newItem);
Objects of the following type(s) are allowed in the list
LocalizableMessage