38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using System;
|
|
|
|
namespace MediaBrowser.Common.Extensions
|
|
{
|
|
/// <summary>
|
|
/// Thrown when an operation cannot be answered because a backing service is unreachable, rather than
|
|
/// because the thing it was asked about does not exist.
|
|
/// </summary>
|
|
public class ServiceUnavailableException : Exception
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ServiceUnavailableException" /> class.
|
|
/// </summary>
|
|
public ServiceUnavailableException()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ServiceUnavailableException" /> class.
|
|
/// </summary>
|
|
/// <param name="message">The message.</param>
|
|
public ServiceUnavailableException(string message)
|
|
: base(message)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ServiceUnavailableException" /> class.
|
|
/// </summary>
|
|
/// <param name="message">The message.</param>
|
|
/// <param name="innerException">The exception that caused this one.</param>
|
|
public ServiceUnavailableException(string message, Exception innerException)
|
|
: base(message, innerException)
|
|
{
|
|
}
|
|
}
|
|
}
|