2019-10-09 15:10:16 +00:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 20:01:16 +00:00
|
|
|
using System;
|
2018-12-27 23:27:57 +00:00
|
|
|
|
|
|
|
namespace MediaBrowser.Common.Extensions
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Class ResourceNotFoundException
|
|
|
|
/// </summary>
|
|
|
|
public class ResourceNotFoundException : Exception
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="ResourceNotFoundException" /> class.
|
|
|
|
/// </summary>
|
|
|
|
public ResourceNotFoundException()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="ResourceNotFoundException" /> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="message">The message.</param>
|
|
|
|
public ResourceNotFoundException(string message)
|
|
|
|
: base(message)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-18 02:46:26 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Class MethodNotAllowedException
|
|
|
|
/// </summary>
|
|
|
|
public class MethodNotAllowedException : Exception
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="MethodNotAllowedException" /> class.
|
|
|
|
/// </summary>
|
|
|
|
public MethodNotAllowedException()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="MethodNotAllowedException" /> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="message">The message.</param>
|
|
|
|
public MethodNotAllowedException(string message)
|
|
|
|
: base(message)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-27 23:27:57 +00:00
|
|
|
public class RemoteServiceUnavailableException : Exception
|
|
|
|
{
|
|
|
|
public RemoteServiceUnavailableException()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public RemoteServiceUnavailableException(string message)
|
|
|
|
: base(message)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public class RateLimitExceededException : Exception
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
|
|
|
|
/// </summary>
|
|
|
|
public RateLimitExceededException()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="RateLimitExceededException" /> class.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="message">The message.</param>
|
|
|
|
public RateLimitExceededException(string message)
|
|
|
|
: base(message)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|