Exception thrown by PropertyData derived objects when assigned a null value where value is required.
Namespace:
EPiServer.CoreAssembly: EPiServer (in EPiServer.dll) Version: 6.0.530.0
Syntax
| C# |
|---|
[SerializableAttribute] public class RequiredPropertyValueException : EPiServerException, IPropertyException |
Remarks
Will translate error message to current language, default message is: "{propertyName}" cannot be empty.
Exception is thrown by Clear()()() when trying to null a property where a value is required.
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..::.RequiredPropertyValueException
System..::.Exception
System..::.ApplicationException
EPiServer.Core..::.EPiServerException
EPiServer.Core..::.RequiredPropertyValueException