2016-09-01 19:06:08 +02:00
|
|
|
|
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)
|
|
|
|
|
|
{ }
|
2016-09-11 19:57:33 +02:00
|
|
|
|
|
|
|
|
|
|
/// <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)
|
|
|
|
|
|
{ }
|
2016-09-01 19:06:08 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|