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

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

Syntax

C#
[SerializableAttribute]
public class EPiServerException : ApplicationException

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

See Also