Search Results for

    Show / Hide Table of Contents
    View Source

    Class BootFailedException

    An exception that is thrown if the Umbraco application cannot boot.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Exceptions
    Assembly: Umbraco.Core.dll
    Syntax
    public class BootFailedException : Exception

    Constructors

    View Source

    BootFailedException()

    Initializes a new instance of the BootFailedException class.

    Declaration
    public BootFailedException()
    View Source

    BootFailedException(SerializationInfo, StreamingContext)

    Initializes a new instance of the BootFailedException class.

    Declaration
    protected BootFailedException(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

    System.Runtime.Serialization.StreamingContext context

    The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.

    View Source

    BootFailedException(String)

    Initializes a new instance of the class with a specified error message.

    Declaration
    public BootFailedException(string message)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    View Source

    BootFailedException(String, Exception)

    Initializes a new instance of the class with a specified error message and a reference to the inner exception which is the cause of this exception.

    Declaration
    public BootFailedException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message

    The message that describes the error.

    Exception innerException

    The inner exception, or null.

    Fields

    View Source

    DefaultMessage

    Defines the default boot failed exception message.

    Declaration
    public const string DefaultMessage = "Boot failed: Umbraco cannot run. See Umbraco's log file for more details."
    Field Value
    Type Description
    System.String

    Methods

    View Source

    Rethrow(BootFailedException)

    Rethrows a captured BootFailedException.

    Declaration
    public static void Rethrow(BootFailedException bootFailedException)
    Parameters
    Type Name Description
    BootFailedException bootFailedException

    The boot failed exception.

    Remarks

    The exception can be null, in which case a default message is used.

    Exceptions
    Type Condition
    BootFailedException
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • BootFailedException()
      • BootFailedException(SerializationInfo, StreamingContext)
      • BootFailedException(String)
      • BootFailedException(String, Exception)
    • Fields
      • DefaultMessage
    • Methods
      • Rethrow(BootFailedException)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX