public class ServiceException extends Object
Java class for ServiceException complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ServiceException">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="messageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="variables" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
messageId |
protected String |
text |
protected List<String> |
variables |
| Constructor and Description |
|---|
ServiceException() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessageId()
Gets the value of the messageId property.
|
String |
getText()
Gets the value of the text property.
|
List<String> |
getVariables()
Gets the value of the variables property.
|
void |
setMessageId(String value)
Sets the value of the messageId property.
|
void |
setText(String value)
Sets the value of the text property.
|
public String getMessageId()
Stringpublic void setMessageId(String value)
value - allowed object is
Stringpublic String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic List<String> getVariables()
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 variables property.
For example, to add a new item, do as follows:
getVariables().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2009,2014 Oracle and/or its affiliates. All rights reserved.