Class ExceptionManager

All unhandled exceptions are routed through this class when EPiServer error handling is enabled.

Inheritance
System.Object
ExceptionManager
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(typeof(IExceptionManager))]
public class ExceptionManager : IExceptionManager

Constructors

ExceptionManager()

Declaration
public ExceptionManager()

Methods

RenderHttpRuntimeError(Exception)

Renders an error message to the user based on the exception.

Declaration
public static void RenderHttpRuntimeError(Exception exception)
Parameters
Type Name Description
System.Exception exception

The exception

Remarks

The actual exception message may not be rendered depending on the current user access rights.

Explicit Interface Implementations

IExceptionManager.RenderHttpRuntimeError(Exception)

Renders an error message to the user based on the exception.

Declaration
void IExceptionManager.RenderHttpRuntimeError(Exception exception)
Parameters
Type Name Description
System.Exception exception

The exception

Remarks

The actual exception message may not be rendered depending on the current user access rights.

Implements

Extension Methods