public static class Result.Error extends Object implements Serializable
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 name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ViolatingElement" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
errorMessage |
protected String |
violatingElement |
| Constructor and Description |
|---|
Error() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage()
Gets the value of the errorMessage property.
|
String |
getViolatingElement()
Gets the value of the violatingElement property.
|
void |
setErrorMessage(String value)
Sets the value of the errorMessage property.
|
void |
setViolatingElement(String value)
Sets the value of the violatingElement property.
|
Result.Error |
withErrorMessage(String value) |
Result.Error |
withViolatingElement(String value) |
protected String errorMessage
protected String violatingElement
public String getErrorMessage()
Stringpublic void setErrorMessage(String value)
value - allowed object is Stringpublic String getViolatingElement()
Stringpublic void setViolatingElement(String value)
value - allowed object is Stringpublic Result.Error withErrorMessage(String value)
public Result.Error withViolatingElement(String value)
Copyright © 2014–2019. All rights reserved.