Exception that is thrown by EPiServer when a non-fatal error occurs.

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

Syntax

C#
[SerializableAttribute]
public class InvalidPasswordException : EPiServerException

Remarks

All non-fatal exceptions in EPiServer is derived from this class.

If an exception occurs while translating a message the default message will be displayed instead, otherwise the actual cause of a exception could be hidden.

Examples

Example of throwing a exception with error message translated into different languages, see LanguageManager for more information about adding custom language resources.
CopyC#
throw new EPiServerException("My custom error","/customerror/genericfail");

Inheritance Hierarchy

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

See Also