mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
28 lines
825 B
C#
28 lines
825 B
C#
using NzbDrone.Common.Exceptions;
|
|
|
|
namespace NzbDrone.Core.Exceptions
|
|
{
|
|
public class ArtistNotFoundException : NzbDroneException
|
|
{
|
|
public string MusicBrainzId { get; set; }
|
|
|
|
public ArtistNotFoundException(string musicbrainzId)
|
|
: base(string.Format("Artist with id {0} was not found, it may have been removed from the metadata server.", musicbrainzId))
|
|
{
|
|
MusicBrainzId = musicbrainzId;
|
|
}
|
|
|
|
public ArtistNotFoundException(string musicbrainzId, string message, params object[] args)
|
|
: base(message, args)
|
|
{
|
|
MusicBrainzId = musicbrainzId;
|
|
}
|
|
|
|
public ArtistNotFoundException(string musicbrainzId, string message)
|
|
: base(message)
|
|
{
|
|
MusicBrainzId = musicbrainzId;
|
|
}
|
|
}
|
|
}
|