Exception throw by PropertyData derived objects when assigned a invalid value.

Namespace:  EPiServer.Core
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
[SerializableAttribute]
public class InvalidPropertyValueException : EPiServerException, 
	IPropertyException

Remarks

Will translate error message to current language, default message is: "{actualValue}" is not a valid value for "{name}".

InvalidPropertyValueException and RequiredPropertyValueException are the two main exceptions that EPiServer.UI.WebControls.PropertyDataForm catches to display friendly and language dependent error messages.

Inheritance Hierarchy

System..::.Object
  System..::.Exception
    System..::.ApplicationException
      EPiServer.Core..::.EPiServerException
        EPiServer.Core..::.InvalidPropertyValueException

See Also