You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
825 B
28 lines
825 B
7 years ago
|
using NzbDrone.Common.Exceptions;
|
||
8 years ago
|
|
||
|
namespace NzbDrone.Core.Exceptions
|
||
|
{
|
||
4 years ago
|
public class AuthorNotFoundException : NzbDroneException
|
||
8 years ago
|
{
|
||
7 years ago
|
public string MusicBrainzId { get; set; }
|
||
8 years ago
|
|
||
4 years ago
|
public AuthorNotFoundException(string musicbrainzId)
|
||
|
: base(string.Format("Author with id {0} was not found, it may have been removed from the metadata server.", musicbrainzId))
|
||
8 years ago
|
{
|
||
7 years ago
|
MusicBrainzId = musicbrainzId;
|
||
8 years ago
|
}
|
||
|
|
||
4 years ago
|
public AuthorNotFoundException(string musicbrainzId, string message, params object[] args)
|
||
8 years ago
|
: base(message, args)
|
||
|
{
|
||
7 years ago
|
MusicBrainzId = musicbrainzId;
|
||
8 years ago
|
}
|
||
|
|
||
4 years ago
|
public AuthorNotFoundException(string musicbrainzId, string message)
|
||
8 years ago
|
: base(message)
|
||
|
{
|
||
7 years ago
|
MusicBrainzId = musicbrainzId;
|
||
8 years ago
|
}
|
||
|
}
|
||
|
}
|