Class BootFailedException
An exception that is thrown if the Umbraco application cannot boot.
Inheritance
Namespace: Umbraco.Cms.Core.Exceptions
Assembly: Umbraco.Core.dll
Syntax
public class BootFailedException : Exception
Constructors
View SourceBootFailedException()
Initializes a new instance of the BootFailedException class.
Declaration
public BootFailedException()
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. |
BootFailedException(String)
Initializes a new instance of the
Declaration
public BootFailedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
BootFailedException(String, Exception)
Initializes a new instance of the
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 SourceDefaultMessage
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 SourceRethrow(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 |