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
821 B
28 lines
821 B
7 years ago
|
using NzbDrone.Common.Exceptions;
|
||
|
|
||
|
namespace NzbDrone.Core.Exceptions
|
||
|
{
|
||
|
public class AlbumNotFoundException : NzbDroneException
|
||
|
{
|
||
|
public string MusicBrainzId { get; set; }
|
||
|
|
||
|
public AlbumNotFoundException(string musicbrainzId)
|
||
|
: base(string.Format("Album with MusicBrainz {0} was not found, it may have been removed from MusicBrainz.", musicbrainzId))
|
||
|
{
|
||
|
MusicBrainzId = musicbrainzId;
|
||
|
}
|
||
|
|
||
|
public AlbumNotFoundException(string musicbrainzId, string message, params object[] args)
|
||
|
: base(message, args)
|
||
|
{
|
||
|
MusicBrainzId = musicbrainzId;
|
||
|
}
|
||
|
|
||
|
public AlbumNotFoundException(string musicbrainzId, string message)
|
||
|
: base(message)
|
||
|
{
|
||
|
MusicBrainzId = musicbrainzId;
|
||
|
}
|
||
|
}
|
||
|
}
|