microsoft.exchange.webservices.data
Class UpdateInboxRulesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by microsoft.exchange.webservices.data.ServiceRemoteException
              extended by microsoft.exchange.webservices.data.UpdateInboxRulesException
All Implemented Interfaces:
java.io.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
protected UpdateInboxRulesException(microsoft.exchange.webservices.data.UpdateInboxRulesResponse serviceResponse, java.lang.Iterable<RuleOperation> ruleOperations)
          Initializes a new instance of the UpdateInboxRulesException class.
 
Method Summary
 ServiceError getErrorCode()
          Gets the rule operation error code.
 java.lang.String getErrorMessage()
          Gets the rule operation error message.
 RuleOperationErrorCollection getErrors()
          Gets the rule operation error collection.
 ServiceResponse getServiceResponse()
          Gets the ServiceResponse for the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateInboxRulesException

protected UpdateInboxRulesException(microsoft.exchange.webservices.data.UpdateInboxRulesResponse serviceResponse,
                                    java.lang.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 java.lang.String getErrorMessage()
Gets the rule operation error message.