Class RuleError
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.RuleError
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class RuleError extends ComplexProperty
Defines the RuleError class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRuleError()The Initializes a new instance of the RuleError class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleErrorCodegetErrorCode()Gets the validation error code.StringgetErrorMessage()Gets the error message.RulePropertygetRuleProperty()Gets the property which failed validation.StringgetValue()Gets the value that failed validation.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
RuleError
protected RuleError()
The Initializes a new instance of the RuleError class.
-
-
Method Detail
-
getRuleProperty
public RuleProperty getRuleProperty()
Gets the property which failed validation.- Returns:
- ruleProperty
-
getErrorCode
public RuleErrorCode getErrorCode()
Gets the validation error code.- Returns:
- ruleProperty
-
getErrorMessage
public String getErrorMessage()
Gets the error message.- Returns:
- ruleProperty
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- The reader- Returns:
- True if element was read
- Throws:
Exception
-
-