2013-02-20 18:33:05 -07:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
{
|
2017-07-22 15:57:22 -07:00
|
|
|
|
|
2013-02-20 18:33:05 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Initializes a new instance of the <see cref="ResourceNotFoundException" /> class.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="message">The message.</param>
|
|
|
|
|
public ResourceNotFoundException(string message)
|
|
|
|
|
: base(message)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-06-22 12:14:58 -07:00
|
|
|
|
|
2017-07-22 15:57:22 -07:00
|
|
|
|
public class RemoteServiceUnavailableException : Exception
|
|
|
|
|
{
|
|
|
|
|
public RemoteServiceUnavailableException()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public RemoteServiceUnavailableException(string message)
|
|
|
|
|
: base(message)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-06-22 12:14:58 -07:00
|
|
|
|
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)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
2013-02-20 18:33:05 -07:00
|
|
|
|
}
|