2020-05-05 14:30:00 +01:00
|
|
|
using System;
|
2022-11-27 12:29:35 +00:00
|
|
|
using System.Runtime.Serialization;
|
2020-05-01 19:05:28 +01:00
|
|
|
using SpotifyAPI.Web.Http;
|
|
|
|
|
|
|
|
namespace SpotifyAPI.Web
|
|
|
|
{
|
2020-05-05 14:30:00 +01:00
|
|
|
[Serializable]
|
2020-05-01 19:05:28 +01:00
|
|
|
public class APIUnauthorizedException : APIException
|
|
|
|
{
|
|
|
|
public APIUnauthorizedException(IResponse response) : base(response) { }
|
2020-05-05 14:30:00 +01:00
|
|
|
|
|
|
|
public APIUnauthorizedException() { }
|
|
|
|
|
|
|
|
public APIUnauthorizedException(string message) : base(message) { }
|
|
|
|
|
|
|
|
public APIUnauthorizedException(string message, Exception innerException) : base(message, innerException) { }
|
|
|
|
|
2024-02-10 10:56:20 +00:00
|
|
|
#if NET8_0_OR_GREATER
|
|
|
|
[Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
|
|
|
|
#endif
|
2020-05-05 14:30:00 +01:00
|
|
|
protected APIUnauthorizedException(SerializationInfo info, StreamingContext context) : base(info, context) { }
|
2020-05-01 19:05:28 +01:00
|
|
|
}
|
|
|
|
}
|