microsoft.exchange.webservices.data
Class ServiceObjectPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by microsoft.exchange.webservices.data.ServiceLocalException
              extended by microsoft.exchange.webservices.data.PropertyException
                  extended by microsoft.exchange.webservices.data.ServiceObjectPropertyException
All Implemented Interfaces:
java.io.Serializable

public class ServiceObjectPropertyException
extends PropertyException

Represents an error that occurs when an operation on a property fails.

See Also:
Serialized Form

Constructor Summary
ServiceObjectPropertyException(PropertyDefinitionBase propertyDefinition)
          ServiceObjectPropertyException constructor.
ServiceObjectPropertyException(java.lang.String message, PropertyDefinitionBase propertyDefinition)
          ServiceObjectPropertyException constructor.
ServiceObjectPropertyException(java.lang.String message, PropertyDefinitionBase propertyDefinition, java.lang.Exception innerException)
          * ServiceObjectPropertyException constructor.
 
Method Summary
 PropertyDefinitionBase getPropertyDefinition()
          The definition of the property that is at the origin of the exception.
 
Methods inherited from class microsoft.exchange.webservices.data.PropertyException
getName
 
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

ServiceObjectPropertyException

public ServiceObjectPropertyException(PropertyDefinitionBase propertyDefinition)
ServiceObjectPropertyException constructor.

Parameters:
propertyDefinition - The definition of the property that is at the origin of the exception.

ServiceObjectPropertyException

public ServiceObjectPropertyException(java.lang.String message,
                                      PropertyDefinitionBase propertyDefinition)
ServiceObjectPropertyException constructor.

Parameters:
message - Error message text.
propertyDefinition - The definition of the property that is at the origin of the exception.

ServiceObjectPropertyException

public ServiceObjectPropertyException(java.lang.String message,
                                      PropertyDefinitionBase propertyDefinition,
                                      java.lang.Exception innerException)
* ServiceObjectPropertyException constructor.

Parameters:
message - Error message text.
propertyDefinition - The definition of the property that is at the origin of the exception.
innerException - the inner exception
Method Detail

getPropertyDefinition

public PropertyDefinitionBase getPropertyDefinition()
The definition of the property that is at the origin of the exception.

Returns:
The definition of the property.