Class ServiceObjectPropertyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- microsoft.exchange.webservices.data.core.exception.service.local.ServiceLocalException
-
- microsoft.exchange.webservices.data.core.exception.service.local.PropertyException
-
- microsoft.exchange.webservices.data.core.exception.service.local.ServiceObjectPropertyException
-
- All Implemented Interfaces:
Serializable
public class ServiceObjectPropertyException extends PropertyException
Represents an error that occurs when an operation on a property fails.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceObjectPropertyException(String message, PropertyDefinitionBase propertyDefinition)ServiceObjectPropertyException constructor.ServiceObjectPropertyException(String message, PropertyDefinitionBase propertyDefinition, Exception innerException)ServiceObjectPropertyException constructor.ServiceObjectPropertyException(PropertyDefinitionBase propertyDefinition)ServiceObjectPropertyException constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyDefinitionBasegetPropertyDefinition()The definition of the property that is at the origin of the exception.-
Methods inherited from class microsoft.exchange.webservices.data.core.exception.service.local.PropertyException
getName
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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(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(String message, PropertyDefinitionBase propertyDefinition, 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.
-
-