Files
Umbraco-CMS/src/Umbraco.Core/Exceptions/BootFailedException.cs

28 lines
1.0 KiB
C#
Raw Normal View History

using System;
namespace Umbraco.Core.Exceptions
{
/// <summary>
/// An exception that is thrown if the Umbraco application cannnot boot.
/// </summary>
public class BootFailedException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="Exception"/> class with a specified error message.
/// </summary>
/// <param name="message">The message that describes the error. </param>
public BootFailedException(string message)
: base(message)
{ }
/// <summary>
/// Initializes a new instance of the <see cref="Exception"/> class with a specified error message
/// and a reference to the inner exception which is the cause of this exception.
/// </summary>
/// <param name="message">The message that describes the error. </param>
/// <param name="inner">The inner exception, or null.</param>
public BootFailedException(string message, Exception inner)
: base(message, inner)
{ }
}
}