Class UpdateInboxRulesException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRemoteException
-
- microsoft.exchange.webservices.data.core.exception.service.remote.UpdateInboxRulesException
-
- All Implemented Interfaces:
Serializable
public class UpdateInboxRulesException extends ServiceRemoteException
Represents an exception thrown when an error occurs as a result of calling the UpdateInboxRules operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateInboxRulesException(UpdateInboxRulesResponse serviceResponse, Iterable<RuleOperation> ruleOperations)Initializes a new instance of the UpdateInboxRulesException class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceErrorgetErrorCode()Gets the rule operation error code.StringgetErrorMessage()Gets the rule operation error message.RuleOperationErrorCollectiongetErrors()Gets the rule operation error collection.ServiceResponsegetServiceResponse()Gets the ServiceResponse for the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UpdateInboxRulesException
public UpdateInboxRulesException(UpdateInboxRulesResponse serviceResponse, Iterable<RuleOperation> ruleOperations)
Initializes a new instance of the UpdateInboxRulesException class.- Parameters:
serviceResponse- The rule operation service response.ruleOperations- The original operations.
-
-
Method Detail
-
getServiceResponse
public ServiceResponse getServiceResponse()
Gets the ServiceResponse for the exception.
-
getErrors
public RuleOperationErrorCollection getErrors()
Gets the rule operation error collection.
-
getErrorCode
public ServiceError getErrorCode()
Gets the rule operation error code.
-
getErrorMessage
public String getErrorMessage()
Gets the rule operation error message.
-
-