Class InitializationExceptionHelper

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
InitializationExceptionHelper
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.Framework.Initialization.Internal
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public class InitializationExceptionHelper

Constructors

InitializationExceptionHelper()

Declaration
public InitializationExceptionHelper()

Methods

ThrowFriendlyAddonException(Exception, IEnumerable<String>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Wrap exception to present information on how to disable add-ons or convert to NuGet add-ons

Declaration
public static void ThrowFriendlyAddonException(Exception exception, IEnumerable<string> addonsWithErrors)
Parameters
Type Name Description
System.Exception exception
System.Collections.Generic.IEnumerable<System.String> addonsWithErrors

ThrowFriendlyTypeScannerException(IEnumerable<TypeScannerReflectionException>, IEnumerable<String>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Rethrow reflection errors in a more readable approach with support on how to disable add-ons

Declaration
public static void ThrowFriendlyTypeScannerException(IEnumerable<TypeScannerReflectionException> reflectionExceptions, IEnumerable<string> addonsWithErrors)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<TypeScannerReflectionException> reflectionExceptions
System.Collections.Generic.IEnumerable<System.String> addonsWithErrors

ThrowIfAddonSystemIsOld(IEnumerable<Assembly>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. In 7.5 the add-on system itself was an add-on and customers will not get the updated version unless we force them to install via NuGet

Declaration
public static void ThrowIfAddonSystemIsOld(IEnumerable<Assembly> assemblies)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

ThrowIfLegacyDllIsPresent(IEnumerable<Assembly>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The DLLs removed in 9 are left behind if you do a install rather than an upgrade of the NuGet packages. Make a friendly error.

Declaration
public static void ThrowIfLegacyDllIsPresent(IEnumerable<Assembly> assemblies)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

ThrowIfMirroringSystemIsOld(IEnumerable<Assembly>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Mirroring have to be manually upgraded, avoid that people are running using the old version.

Declaration
public static void ThrowIfMirroringSystemIsOld(IEnumerable<Assembly> assemblies)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

ThrowIfShellIsOld(IEnumerable<Assembly>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Shell was moved to UI in CMS 10, make sure an old Shell is not left in bin if UI is not installed

Declaration
public static void ThrowIfShellIsOld(IEnumerable<Assembly> assemblies)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> assemblies

Extension Methods