mirror of
https://github.com/Radarr/Radarr
synced 2026-01-15 03:53:12 +01:00
* New: Manually Edit/Override Album Release * !fixup for comments, loading all albums instead of only artist albums * fixup! UI Cleanup lint issues * fixup! Remove AddAlbum service for now, fix refresh override selected release * fixup! Last one... to fix updating albums with custom release set Closes #109 Closes #129 Closes #128
31 lines
907 B
C#
31 lines
907 B
C#
using NzbDrone.Common.Exceptions;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|