ServiceObjectPropertyException.withMessage constructor

ServiceObjectPropertyException.withMessage(
  1. String message,
  2. PropertyDefinitionBase propertyDefinition
)
ServiceObjectPropertyException Constructor. Error message text. The definition of the property that is at the origin of the exception.

Implementation

ServiceObjectPropertyException.withMessage(
    String message, PropertyDefinitionBase propertyDefinition)
    : super(message, propertyDefinition.GetPrintableName()) {
  this.propertyDefinition = propertyDefinition;
}